Class: DatadogAPIClient::V2::ObservabilityPipelineHttpServerSourceValidToken
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ObservabilityPipelineHttpServerSourceValidToken
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb
Overview
An accepted token used to authenticate incoming HTTP server requests.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Indicates whether this token is currently accepted.
-
#field_to_add ⇒ Object
An optional metadata field that is attached to every event authenticated by the associated token.
-
#path_to_token ⇒ Object
Specifies where the worker extracts the token from in the incoming HTTP request.
-
#token_key ⇒ Object
readonly
Name of the environment variable or secret that holds the expected token value.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 39 def additional_properties @additional_properties end |
#enabled ⇒ Object
Indicates whether this token is currently accepted. Disabled tokens are rejected without being removed from the configuration.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 26 def enabled @enabled end |
#field_to_add ⇒ Object
An optional metadata field that is attached to every event authenticated by the
associated token. Both key and value must match ^[A-Za-z0-9_]+$.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 30 def field_to_add @field_to_add end |
#path_to_token ⇒ Object
Specifies where the worker extracts the token from in the incoming HTTP request.
This can be either a built-in location (path or address) or an HTTP header object.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 34 def path_to_token @path_to_token end |
#token_key ⇒ Object
Name of the environment variable or secret that holds the expected token value.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/observability_pipeline_http_server_source_valid_token.rb', line 37 def token_key @token_key end |