diff --git a/docs/data-sources/elasticsearch_index_template.md b/docs/data-sources/elasticsearch_index_template.md index 2a8cd4ec6..c80a69b48 100644 --- a/docs/data-sources/elasticsearch_index_template.md +++ b/docs/data-sources/elasticsearch_index_template.md @@ -60,7 +60,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/data-sources/elasticsearch_security_role.md b/docs/data-sources/elasticsearch_security_role.md index 9663e0d3d..0d432334f 100644 --- a/docs/data-sources/elasticsearch_security_role.md +++ b/docs/data-sources/elasticsearch_security_role.md @@ -61,7 +61,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/data-sources/elasticsearch_security_role_mapping.md b/docs/data-sources/elasticsearch_security_role_mapping.md index a18c335ac..2426740ef 100644 --- a/docs/data-sources/elasticsearch_security_role_mapping.md +++ b/docs/data-sources/elasticsearch_security_role_mapping.md @@ -58,7 +58,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/data-sources/elasticsearch_security_user.md b/docs/data-sources/elasticsearch_security_user.md index 3f2cc7b10..31f05164b 100644 --- a/docs/data-sources/elasticsearch_security_user.md +++ b/docs/data-sources/elasticsearch_security_user.md @@ -58,7 +58,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/data-sources/elasticsearch_snapshot_repository.md b/docs/data-sources/elasticsearch_snapshot_repository.md index bf2e4a3a8..1eca5b46a 100644 --- a/docs/data-sources/elasticsearch_snapshot_repository.md +++ b/docs/data-sources/elasticsearch_snapshot_repository.md @@ -86,7 +86,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/index.md b/docs/index.md index aacc7bb97..061ad84cc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -158,7 +158,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_cluster_settings.md b/docs/resources/elasticsearch_cluster_settings.md index 36a95568f..dfdf3df82 100644 --- a/docs/resources/elasticsearch_cluster_settings.md +++ b/docs/resources/elasticsearch_cluster_settings.md @@ -71,7 +71,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_component_template.md b/docs/resources/elasticsearch_component_template.md index 0e150b797..5d3db33d5 100644 --- a/docs/resources/elasticsearch_component_template.md +++ b/docs/resources/elasticsearch_component_template.md @@ -96,7 +96,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_data_stream.md b/docs/resources/elasticsearch_data_stream.md index a52854667..55aafcac7 100644 --- a/docs/resources/elasticsearch_data_stream.md +++ b/docs/resources/elasticsearch_data_stream.md @@ -102,7 +102,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_data_stream_lifecycle.md b/docs/resources/elasticsearch_data_stream_lifecycle.md index cfa310000..419ad19a7 100644 --- a/docs/resources/elasticsearch_data_stream_lifecycle.md +++ b/docs/resources/elasticsearch_data_stream_lifecycle.md @@ -93,7 +93,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_enrich_policy.md b/docs/resources/elasticsearch_enrich_policy.md index d7723afc0..934a31e24 100644 --- a/docs/resources/elasticsearch_enrich_policy.md +++ b/docs/resources/elasticsearch_enrich_policy.md @@ -78,7 +78,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_index.md b/docs/resources/elasticsearch_index.md index a6b775744..e3312f73d 100644 --- a/docs/resources/elasticsearch_index.md +++ b/docs/resources/elasticsearch_index.md @@ -164,7 +164,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_index_lifecycle.md b/docs/resources/elasticsearch_index_lifecycle.md index 825876dd0..666b2bd56 100644 --- a/docs/resources/elasticsearch_index_lifecycle.md +++ b/docs/resources/elasticsearch_index_lifecycle.md @@ -205,7 +205,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_index_template.md b/docs/resources/elasticsearch_index_template.md index dc229c5e2..696fd5fb6 100644 --- a/docs/resources/elasticsearch_index_template.md +++ b/docs/resources/elasticsearch_index_template.md @@ -88,7 +88,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_ingest_pipeline.md b/docs/resources/elasticsearch_ingest_pipeline.md index fb352ee47..27fd4b0cf 100644 --- a/docs/resources/elasticsearch_ingest_pipeline.md +++ b/docs/resources/elasticsearch_ingest_pipeline.md @@ -101,7 +101,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_logstash_pipeline.md b/docs/resources/elasticsearch_logstash_pipeline.md index a84266ea2..3baac1418 100644 --- a/docs/resources/elasticsearch_logstash_pipeline.md +++ b/docs/resources/elasticsearch_logstash_pipeline.md @@ -100,7 +100,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_script.md b/docs/resources/elasticsearch_script.md index 079f6211e..8b293a3a1 100644 --- a/docs/resources/elasticsearch_script.md +++ b/docs/resources/elasticsearch_script.md @@ -73,7 +73,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_security_api_key.md b/docs/resources/elasticsearch_security_api_key.md index f4a7a9d93..697560ec6 100644 --- a/docs/resources/elasticsearch_security_api_key.md +++ b/docs/resources/elasticsearch_security_api_key.md @@ -112,7 +112,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_security_role.md b/docs/resources/elasticsearch_security_role.md index 31cd2a4c4..699bf4d2a 100644 --- a/docs/resources/elasticsearch_security_role.md +++ b/docs/resources/elasticsearch_security_role.md @@ -90,7 +90,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_security_role_mapping.md b/docs/resources/elasticsearch_security_role_mapping.md index 718bc4816..6be2855d0 100644 --- a/docs/resources/elasticsearch_security_role_mapping.md +++ b/docs/resources/elasticsearch_security_role_mapping.md @@ -68,7 +68,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_security_system_user.md b/docs/resources/elasticsearch_security_system_user.md index 9e67af1fc..ffaa39946 100644 --- a/docs/resources/elasticsearch_security_system_user.md +++ b/docs/resources/elasticsearch_security_system_user.md @@ -62,7 +62,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_security_user.md b/docs/resources/elasticsearch_security_user.md index fbf6f7d31..27c0907e1 100644 --- a/docs/resources/elasticsearch_security_user.md +++ b/docs/resources/elasticsearch_security_user.md @@ -87,7 +87,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_snapshot_lifecycle.md b/docs/resources/elasticsearch_snapshot_lifecycle.md index 2b1d8eeef..f8b6b10ae 100644 --- a/docs/resources/elasticsearch_snapshot_lifecycle.md +++ b/docs/resources/elasticsearch_snapshot_lifecycle.md @@ -86,7 +86,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/docs/resources/elasticsearch_snapshot_repository.md b/docs/resources/elasticsearch_snapshot_repository.md index 385d4aa47..e8e427efe 100644 --- a/docs/resources/elasticsearch_snapshot_repository.md +++ b/docs/resources/elasticsearch_snapshot_repository.md @@ -89,7 +89,7 @@ Optional: - `cert_data` (String) PEM encoded certificate for client auth - `cert_file` (String) Path to a file containing the PEM encoded certificate for client auth - `endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number. -- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the bearer token +- `es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token - `insecure` (Boolean) Disable TLS certificate validation - `key_data` (String, Sensitive) PEM encoded private key for client auth - `key_file` (String) Path to a file containing the PEM encoded private key for client auth diff --git a/internal/schema/connection.go b/internal/schema/connection.go index 182f361f8..1cf4202e4 100644 --- a/internal/schema/connection.go +++ b/internal/schema/connection.go @@ -58,7 +58,7 @@ func GetEsFWConnectionBlock(keyName string, isProviderConfiguration bool) fwsche }, }, "es_client_authentication": fwschema.StringAttribute{ - MarkdownDescription: "ES Client Authentication field to be used with the bearer token", + MarkdownDescription: "ES Client Authentication field to be used with the JWT token", Optional: true, Sensitive: true, Validators: []validator.String{ @@ -296,7 +296,7 @@ func GetEsConnectionSchema(keyName string, isProviderConfiguration bool) *schema ConflictsWith: []string{usernamePath, passwordPath, apiKeyPath}, }, "es_client_authentication": { - Description: "ES Client Authentication field to be used with the bearer token", + Description: "ES Client Authentication field to be used with the JWT token", Type: schema.TypeString, Optional: true, Sensitive: true,