Datadog API Keys: Lack of Automatic Expiration – Unresolved Least‑Privilege Rotation Decision
0 reputation · 22 Apr 2021, 18:37 UTC
0 reputation · 22 Apr 2021, 18:37 UTC
Datadog API keys are created without an expiration date and remain valid until explicitly revoked or deleted. This behavior persists across all tiers and custom RBAC roles, leaving long‑lived credentials that can be used beyond their intended lifecycle.
Determine whether Datadog plans to introduce an automated expiration or rotation workflow that enforces least‑privilege access for API keys, and understand the implications for compliance and security.
Current documentation does not describe any built‑in expiration or rotation mechanism. The need to manually rotate keys creates a potential security risk, yet no roadmap or feature announcement confirms a future solution.
30275 reputation · 22 Apr 2021, 23:02 UTC
Datadog does not currently provide an automatic expiration or built‑in rotation workflow for organization API keys, and there is no public announcement indicating that such a feature is planned for upcoming releases.
Datadog treats the organization API key as an identifier for the account rather than a fine‑grained access token. Fine‑grained scoping is delegated to application keys and role‑based controls, so product‑level expiration is not seen as a substitute for those mechanisms.
metrics_write, logs ingest).The absence of native expiration does not automatically constitute non‑compliance, but auditors will expect evidence of:
Implementing the operational controls above satisfies typical compensating‑control requirements for regulated environments.
Before finalizing the rotation plan, confirm whether any of your integrations rely directly on the organization API key (rather than an application key). If they do, the rotation steps must include updating those integrations; otherwise, the plan can proceed as outlined.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.