Skip to content

Reference

Datadog

Connect Datadog to Alter Vault for secure API access

Use Datadog credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDdatadog
CategoryMonitoring & Observability
Credential TypeAPI Key

Log in to Datadog

Log in to Datadog at app.datadoghq.com/account/login.

Go to Organization Settings → API Keys

Create an API key

Click ‘New Key’ to create an API key and copy it.

Get the Application Key

If the API operation requires an Application Key, go to Organization Settings → Application Keys and create a key tied to a user account.

Enter your Datadog site

If the organization is on a non-US1 site (EU, US3, US5, AP1, AP2, gov), enter the matching site in the Datadog Site field (e.g. datadoghq.eu).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Datadog

Go to Managed Secrets > Add Provider > Datadog.

Enter credentials

Paste the API Key into its field. Add the optional Application Key for operations that require one, and set the optional Datadog Site field when the organization is not on US1.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://api.YOUR_DATADOG_SITE/api/v1/events", # YOUR_DATADOG_SITE e.g. datadoghq.com (US1), datadoghq.eu (EU), us3.datadoghq.com, etc.
grant_id="YOUR_GRANT_ID",
query_params={"start": START_UNIX_SECONDS, "end": END_UNIX_SECONDS},
)
  • The login URL redirects to your correct Datadog site. If your organization is on a non-US1 site (EU, US3, US5, AP1, AP2, gov), you can also log in directly at your site’s URL.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
v1/dashboards/listreadGET/api/v1/dashboard
v1/dashboards/createwritePOST/api/v1/dashboard
v1/dashboards/getreadGET/api/v1/dashboard/{dashboard_id}
v1/dashboards/updatewritePUT/api/v1/dashboard/{dashboard_id}
v1/dashboards/deletedeleteDELETE/api/v1/dashboard/{dashboard_id}
v1/monitors/listreadGET/api/v1/monitor
v1/monitors/createwritePOST/api/v1/monitor
v1/monitors/getreadGET/api/v1/monitor/{monitor_id}
v1/monitors/updatewritePUT/api/v1/monitor/{monitor_id}
v1/monitors/deletedeleteDELETE/api/v1/monitor/{monitor_id}
v1/events/createwritePOST/api/v1/events
v1/events/listreadGET/api/v1/events
v2/events/searchreadPOST/api/v2/events/search
v1/metrics/queryreadGET/api/v1/query
v1/metrics/submitwritePOST/api/v1/series
v2/metrics/submitwritePOST/api/v2/series
v2/metrics/listreadGET/api/v2/metrics
v2/query/timeseriesreadPOST/api/v2/query/timeseries
v1/hosts/listreadGET/api/v1/hosts
v1/validatereadGET/api/v1/validate
v2/downtime/createwritePOST/api/v2/downtime
v2/downtime/listreadGET/api/v2/downtime
v2/incidents/createwritePOST/api/v2/incidents
v2/incidents/listreadGET/api/v2/incidents
v2/incidents/getreadGET/api/v2/incidents/{incident_id}
v2/incidents/updatewritePATCH/api/v2/incidents/{incident_id}
v2/logs/listreadGET/api/v2/logs/events
v2/logs/searchreadPOST/api/v2/logs/events/search
v2/users/createadminPOST/api/v2/users
v2/users/listreadGET/api/v2/users

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.