Skip to content

Commit 4cc0cc5

Browse files
committed
Mark connector secret as sensitive
1 parent 592dba3 commit 4cc0cc5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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)