datadog

The datadog credential can be used to access Datadog resources.

credential "datadog" "my_datadog_creds" {
api_key = "b1cf234................."
app_key = "1a2345bc..................."
api_url = "https://api.adoghq.com/"
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalAPI key
app_keyStringOptionalApplication key
api_urlStringOptionalAPI URL

All arguments are optional, and a datadog credential with no arguments will behave the same as the default credential.

Default Credential

The datadog credential type includes an implicit, default credential (credential.datadog.default) that will be configured using the environment variables DD_CLIENT_API_KEY, and DD_CLIENT_APP_KEY.

credential "datadog" "my_datadog_creds" {
api_key = env("DD_CLIENT_API_KEY")
app_key = env("DD_CLIENT_APP_KEY")
}