diff --git a/CHANGELOG.md b/CHANGELOG.md index f9a841ba7..81eab2e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Add missing entries to `data_view.field_formats.params` ([#1001](https://github.com/elastic/terraform-provider-elasticstack/pull/1001)) - Fix namespaces inconsistency when creating elasticstack_kibana_data_view resources ([#1011](https://github.com/elastic/terraform-provider-elasticstack/pull/1011)) - Update rule ID documentation. ([#1047](https://github.com/elastic/terraform-provider-elasticstack/pull/1047)) +- Mark `elasticstack_kibana_action_connector.secrets` as sensitive. ([#1045](https://github.com/elastic/terraform-provider-elasticstack/pull/1045) ## [0.11.13] - 2025-01-09 diff --git a/docs/resources/kibana_action_connector.md b/docs/resources/kibana_action_connector.md index a9706c462..a15f906d0 100644 --- a/docs/resources/kibana_action_connector.md +++ b/docs/resources/kibana_action_connector.md @@ -66,7 +66,7 @@ resource "elasticstack_kibana_action_connector" "slack-api-connector" { - `config` (String) The configuration for the connector. Configuration properties vary depending on the connector type. - `connector_id` (String) A UUID v1 or v4 to use instead of a randomly generated ID. -- `secrets` (String) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type. +- `secrets` (String, Sensitive) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type. - `space_id` (String) An identifier for the space. If space_id is not provided, the default space is used. ### Read-Only diff --git a/internal/kibana/connector.go b/internal/kibana/connector.go index e44227fd1..37d86c333 100644 --- a/internal/kibana/connector.go +++ b/internal/kibana/connector.go @@ -52,6 +52,7 @@ func ResourceActionConnector() *schema.Resource { Optional: true, DiffSuppressFunc: utils.DiffJsonSuppress, ValidateFunc: validation.StringIsJSON, + Sensitive: true, }, "is_deprecated": { Description: "Indicates whether the connector type is deprecated.",