Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Datadog credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDdatadog
CategoryMonitoring & Observability
Credential TypeAPI Key

Step 1: Get Your Credentials

1

Log in to Datadog

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

Go to Organization Settings → API Keys

Go to Organization Settings → API Keys.
3

Create an API key

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

Get the Application Key

For the Application Key, go to Organization Settings → Application Keys.
5

Enter your Datadog site

If using a non-US site, enter your Datadog site in the Datadog Site field (e.g. datadoghq.eu).
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Datadog

Go to Managed Secrets > Add Provider > Datadog.
3

Enter your credentials

Paste your API Key and Application Key into their respective fields.
4

Save

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

Using in Code

response = await vault.request(
    HttpMethod.GET,
    "https://api.YOUR_DATADOG_SITE/api/v1/events",
    grant_id="YOUR_GRANT_ID",  # e.g. datadoghq.com (US1), datadoghq.eu (EU), us3.datadoghq.com, etc.
)

Notes

  • The login URL redirects to your correct Datadog site. If your organization is on a non-US1 site (EU, US3, US5, AP1), you can also log in directly at your site’s URL.