Skip to main content
Rotation Type: Dual-PhaseThis rotation maintains two active credential sets with overlapping validity, ensuring zero-downtime during rotation cycles.

Prerequisites

  • Create a Datadog Connection using the API Key method (both an API Key and an Application Key are required).
  • The Application Key used by the connection must belong to a user with permission to create and delete API keys. Set api_keys_read and api_keys_write under API and Application Keys in the key’s scopes.

Create a Datadog API Key Rotation in Infisical

  1. Navigate to your Secret Manager Project’s Dashboard and select Add Secret Rotation from the actions dropdown. Secret Manager Dashboard
  2. Select the Datadog API Key option. Select Datadog API Key
  3. Configure the rotation behavior, then click Next. Rotation Configuration
  • Datadog Connection - the connection that will perform the rotation of the API Key.
  • Rotation Interval - the interval, in days, that once elapsed will trigger a rotation.
  • Rotate At - the local time of day when rotation should occur once the interval has elapsed.
  • Auto-Rotation Enabled - whether secrets should automatically be rotated once the rotation interval has elapsed. Disable this option to manually rotate secrets or pause secret rotation.
  1. Provide a Key Name for the generated Datadog API keys. Then click Next. Rotation Parameters
  • Key Name - the name assigned to the API keys created by this rotation in Datadog. Each rotation creates a new key using this name.
  1. Specify the secret names that the rotated credentials should be mapped to. Then click Next. Rotation Secrets Mapping
  • API Key ID - the name of the secret that the Datadog API Key ID will be mapped to.
  • API Key - the name of the secret that the rotated Datadog API Key value will be mapped to.
  1. Give your rotation a name and description (optional). Then click Next. Rotation Details
  • Name - the name of the secret rotation configuration. Must be slug-friendly.
  • Description (optional) - a description of this rotation configuration.
  1. Review your configuration, then click Create Secret Rotation. Rotation Review
  2. Your Datadog API Key credentials are now available for use via the mapped secrets. Datadog Credentials