datadog
ImportantAs of Flowpipe 1.0.0,
credential
has been renamed toconnection
. Thedatadog
credential resource is deprecated and will be removed in a future version of Flowpipe. Use the datadog connection instead.
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
Name | Type | Required? | Description |
---|---|---|---|
api_key | String | Optional | API key |
app_key | String | Optional | Application key |
api_url | String | Optional | API 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")}