Class: DatadogAPIClient::V2::ObservabilityPipelineElasticsearchDestinationAuth
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineElasticsearchDestinationAuth
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb
Overview
Authentication settings for the Elasticsearch destination.
When strategy is basic, use username_key and password_key to reference credentials stored in environment variables or secrets.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#password_key ⇒ Object
Name of the environment variable or secret that holds the Elasticsearch password (used when
strategyisbasic). -
#strategy ⇒ Object
readonly
The authentication strategy to use.
-
#username_key ⇒ Object
Name of the environment variable or secret that holds the Elasticsearch username (used when
strategyisbasic).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb', line 34 def additional_properties @additional_properties end |
#password_key ⇒ Object
Name of the environment variable or secret that holds the Elasticsearch password (used when strategy is basic).
26 27 28 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb', line 26 def password_key @password_key end |
#strategy ⇒ Object
The authentication strategy to use.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb', line 29 def strategy @strategy end |
#username_key ⇒ Object
Name of the environment variable or secret that holds the Elasticsearch username (used when strategy is basic).
32 33 34 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_auth.rb', line 32 def username_key @username_key end |