GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.datadoghq.com — Personal Access Tokens For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/account_management/personal-access-tokens.md.
A documentation index is available at /llms.txt.
Personal Access TokensOverviewPersonal Access Tokens (PATs) are a credential type that authenticates Datadog API calls. Unlike application keys, PATs do not need to be paired with an API key. They are short-lived and scoped by default, giving you tighter control over what each token can access and how long it remains valid. With PATs, you can:
PATs compared to other credential types
For Service Access Tokens, see Service Access Tokens. Prerequisites
Create a Personal Access Token
Note: Each user can have up to 500 PATs. Datadog displays the token secret only once at creation time. Copy and store it securely. You cannot retrieve it later. Use a Personal Access TokenPATs support two authentication methods. Authorization header (recommended)Pass the PAT as a Bearer token in the Application key headerPass the PAT in the Note: When a valid PAT is provided in the Restrictions on PAT-authenticated API callsTo prevent privilege escalation, Datadog restricts what an API call authenticated with a PAT can do. These restrictions apply regardless of the API client making the call:
A call that violates one of these restrictions returns a Manage Personal Access TokensView your tokensNavigate to Personal Settings > Access Tokens to see all PATs associated with your account, including their names, scopes, expiration dates, and last usage information. After creating a token, a details panel displays the token secret, name, Token ID, owner, scopes, and expiration date. From this panel, you can also edit or revoke the token. Manage tokens as an administratorOrganization administrators with the Revoke a token
Revoked tokens can no longer authenticate API calls. Revocation takes effect within seconds. Edit a tokenYou can update the name and scopes of an existing PAT. You cannot modify the TTL after creation. To change the TTL, revoke the existing token and create a token with the desired configuration. Token formatPATs use an identifiable format that supports secret scanning and key management:
The identifiable prefix and checksum enable automated detection by secret scanning services, including GitHub secret scanning, Sensitive Data Scanner, and GitGuardian. PermissionsPATs use the same permissions as application keys:
For more information about permissions, see Role Based Access Control. Audit TrailIf Audit Trail is enabled for your organization, Audit Trail records all PAT creation, usage, and revocation events. Audit Trail captures the authentication method and token metadata for each API call made with a PAT, giving administrators visibility into credential usage across the organization. To review PAT activity, navigate to Security > Compliance > Audit Trail and filter by the Personal Access Token authentication method. API referenceManage PATs programmatically through the Datadog API:
The For the full API reference, see Key Management. Key propagation delayPATs follow an eventual consistency model. After creation or revocation, changes may take a few seconds to propagate across all Datadog systems. Do not use a token immediately after creation in critical workflows. Implement a retry strategy with short exponential backoff to handle transient errors during the propagation window. Further readingAdditional helpful documentation, links, and articles: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402809 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |