Skip to content

Commit 08a3a2a

Browse files
authored
Mark elasticstack_kibana_action_connector.secrets as sensitive (#1045)
* Mark connector secret as sensitive * Update CHANGELOG.md
1 parent 2fa6506 commit 08a3a2a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Add missing entries to `data_view.field_formats.params` ([#1001](https://github.com/elastic/terraform-provider-elasticstack/pull/1001))
66
- Fix namespaces inconsistency when creating elasticstack_kibana_data_view resources ([#1011](https://github.com/elastic/terraform-provider-elasticstack/pull/1011))
77
- Update rule ID documentation. ([#1047](https://github.com/elastic/terraform-provider-elasticstack/pull/1047))
8+
- Mark `elasticstack_kibana_action_connector.secrets` as sensitive. ([#1045](https://github.com/elastic/terraform-provider-elasticstack/pull/1045)
89

910
## [0.11.13] - 2025-01-09
1011

docs/resources/kibana_action_connector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ resource "elasticstack_kibana_action_connector" "slack-api-connector" {
6666

6767
- `config` (String) The configuration for the connector. Configuration properties vary depending on the connector type.
6868
- `connector_id` (String) A UUID v1 or v4 to use instead of a randomly generated ID.
69-
- `secrets` (String) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type.
69+
- `secrets` (String, Sensitive) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type.
7070
- `space_id` (String) An identifier for the space. If space_id is not provided, the default space is used.
7171

7272
### Read-Only

internal/kibana/connector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func ResourceActionConnector() *schema.Resource {
5252
Optional: true,
5353
DiffSuppressFunc: utils.DiffJsonSuppress,
5454
ValidateFunc: validation.StringIsJSON,
55+
Sensitive: true,
5556
},
5657
"is_deprecated": {
5758
Description: "Indicates whether the connector type is deprecated.",

0 commit comments

Comments
 (0)