Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add docs for datadog
adilson50c9ddcc238c
diff --git a/docs/docs.json b/docs/docs.jsonindex 407b8d012d..5293a8747e 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -123,6 +123,7 @@"integrations/app-connections/chef","integrations/app-connections/cloudflare","integrations/app-connections/databricks",+ "integrations/app-connections/datadog","integrations/app-connections/dbt","integrations/app-connections/devin","integrations/app-connections/digicert",@@ -477,6 +478,7 @@"documentation/platform/secret-rotation/aws-iam-user-secret","documentation/platform/secret-rotation/azure-client-secret","documentation/platform/secret-rotation/databricks-service-principal-secret",+ "documentation/platform/secret-rotation/datadog-application-key-secret","documentation/platform/secret-rotation/dbt-service-token","documentation/platform/secret-rotation/ldap-password","documentation/platform/secret-rotation/mongodb-credentials",diff --git a/docs/documentation/platform/secret-rotation/datadog-application-key-secret.mdx b/docs/documentation/platform/secret-rotation/datadog-application-key-secret.mdxnew file mode 100644index 0000000000..6497ca67a9--- /dev/null+++ b/docs/documentation/platform/secret-rotation/datadog-application-key-secret.mdx@@ -0,0 +1,153 @@+---+title: "Datadog Application Key"+description: "Learn how to automatically rotate Datadog Service Account Application Keys."+---++<Note>+ **Rotation Type: Dual-Phase**++ This rotation maintains two active credential sets with overlapping validity, ensuring zero-downtime during rotation cycles.+</Note>++## Prerequisites++- Create a [Datadog Connection](/integrations/app-connections/datadog) with an API Key and a Service Account Application Key.+- The Application Key used by the connection must have scopes that allow it to list users, and create and delete Application Keys on the target Service Account. For this use case,+you need to set `user_app_keys` under **API and Application Keys** and `service_account_writer`, `user_access_manage` and `user_access_read` under **Access Management**++++## Create a Datadog Application Key Rotation in Infisical++<Tabs>+ <Tab title="Infisical UI">+ 1. Navigate to your Secret Manager Project's Dashboard and select **Add Secret Rotation** from the actions dropdown.++ ++ 2. Select the **Datadog Application Key** option.++ ++ 3. Configure the rotation behavior, then click **Next**.++ ++ - **Datadog Connection** - the connection that will perform the rotation of the Service Account's Application 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.++ 4. Select the Datadog **Service Account** whose Application Key you want to rotate. Then click **Next**.++ ++ - **Service Account** - the Datadog Service Account that will own the rotated Application Keys. Only non-disabled Service Accounts visible to the connection are listed.++ 5. Specify the secret names that the rotated credentials should be mapped to. Then click **Next**.++ ++ - **Application Key ID** - the name of the secret that the Datadog Application Key ID will be mapped to.+ - **Application Key** - the name of the secret that the rotated Datadog Application Key value will be mapped to.++ 6. Give your rotation a name and description (optional). Then click **Next**.++ ++ - **Name** - the name of the secret rotation configuration. Must be slug-friendly.+ - **Description** (optional) - a description of this rotation configuration.++ 7. Review your configuration, then click **Create Secret Rotation**.++ ++ 8. Your **Datadog Application Key** credentials are now available for use via the mapped secrets.+ </Tab>+ <Tab title="API">+ To create a Datadog Application Key Rotation, make an API request to the [Create Datadog Application Key Rotation](/api-reference/endpoints/secret-rotations/datadog-application-key-secret/create) API endpoint.++ You will first need the **Service Account ID** of the Datadog Service Account you want to rotate the Application Key for. This can be obtained from the Service Account's URL in the Datadog dashboard, or by listing Service Accounts on the [Datadog Connection](/integrations/app-connections/datadog).++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://us.infisical.com/api/v2/secret-rotations/datadog-application-key-secret \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-datadog-rotation",+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "description": "my datadog application key rotation",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "environment": "dev",+ "secretPath": "/",+ "isAutoRotationEnabled": true,+ "rotationInterval": 30,+ "rotateAtUtc": {+ "hours": 0,+ "minutes": 0+ },+ "parameters": {+ "serviceAccountId": "..."+ },+ "secretsMapping": {+ "applicationKeyId": "DATADOG_APPLICATION_KEY_ID",+ "applicationKey": "DATADOG_APPLICATION_KEY"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "secretRotation": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "name": "my-datadog-rotation",+ "description": "my datadog application key rotation",+ "secretsMapping": {+ "applicationKeyId": "DATADOG_APPLICATION_KEY_ID",+ "applicationKey": "DATADOG_APPLICATION_KEY"+ },+ "isAutoRotationEnabled": true,+ "activeIndex": 0,+ "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "createdAt": "2023-11-07T05:31:56Z",+ "updatedAt": "2023-11-07T05:31:56Z",+ "rotationInterval": 30,+ "rotationStatus": "success",+ "lastRotationAttemptedAt": "2023-11-07T05:31:56Z",+ "lastRotatedAt": "2023-11-07T05:31:56Z",+ "lastRotationJobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "nextRotationAt": "2023-11-07T05:31:56Z",+ "connection": {+ "app": "datadog",+ "name": "my-datadog-connection",+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"+ },+ "environment": {+ "slug": "dev",+ "name": "Development",+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"+ },+ "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "folder": {+ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",+ "path": "/"+ },+ "rotateAtUtc": {+ "hours": 0,+ "minutes": 0+ },+ "lastRotationMessage": null,+ "type": "datadog-application-key-secret",+ "parameters": {+ "serviceAccountId": "..."+ }+ }+ }+ ```+ </Tab>+</Tabs>diff --git a/docs/images/app-connections/datadog/api-key-copy-value.png b/docs/images/app-connections/datadog/api-key-copy-value.pngnew file mode 100644index 0000000000..d687476e80Binary files /dev/null and b/docs/images/app-connections/datadog/api-key-copy-value.png differdiff --git a/docs/images/app-connections/datadog/api-key-name-modal.png b/docs/images/app-connections/datadog/api-key-name-modal.pngnew file mode 100644index 0000000000..5eab325d3fBinary files /dev/null and b/docs/images/app-connections/datadog/api-key-name-modal.png differdiff --git a/docs/images/app-connections/datadog/api-key-option.png b/docs/images/app-connections/datadog/api-key-option.pngnew file mode 100644index 0000000000..bfaf0dbcedBinary files /dev/null and b/docs/images/app-connections/datadog/api-key-option.png differdiff --git a/docs/images/app-connections/datadog/application-key-name.png b/docs/images/app-connections/datadog/application-key-name.pngnew file mode 100644index 0000000000..89f2be8608Binary files /dev/null and b/docs/images/app-connections/datadog/application-key-name.png differdiff --git a/docs/images/app-connections/datadog/copy-service-account-key.png b/docs/images/app-connections/datadog/copy-service-account-key.pngnew file mode 100644index 0000000000..9da017f6c5Binary files /dev/null and b/docs/images/app-connections/datadog/copy-service-account-key.png differdiff --git a/docs/images/app-connections/datadog/create-new-key.png b/docs/images/app-connections/datadog/create-new-key.pngnew file mode 100644index 0000000000..f4633f8c63Binary files /dev/null and b/docs/images/app-connections/datadog/create-new-key.png differdiff --git a/docs/images/app-connections/datadog/create-service-account.png b/docs/images/app-connections/datadog/create-service-account.pngnew file mode 100644index 0000000000..a5aecb7878Binary files /dev/null and b/docs/images/app-connections/datadog/create-service-account.png differdiff --git a/docs/images/app-connections/datadog/datadog-add-connection.png b/docs/images/app-connections/datadog/datadog-add-connection.pngnew file mode 100644index 0000000000..ede7e023f5Binary files /dev/null and b/docs/images/app-connections/datadog/datadog-add-connection.png differdiff --git a/docs/images/app-connections/datadog/datadog-app-connection.png b/docs/images/app-connections/datadog/datadog-app-connection.pngnew file mode 100644index 0000000000..bbb8f85a76Binary files /dev/null and b/docs/images/app-connections/datadog/datadog-app-connection.png differdiff --git a/docs/images/app-connections/datadog/datadog-form.png b/docs/images/app-connections/datadog/datadog-form.pngnew file mode 100644index 0000000000..a6bc4b50afBinary files /dev/null and b/docs/images/app-connections/datadog/datadog-form.png differdiff --git a/docs/images/app-connections/datadog/new-key-button.png b/docs/images/app-connections/datadog/new-key-button.pngnew file mode 100644index 0000000000..5301bcd321Binary files /dev/null and b/docs/images/app-connections/datadog/new-key-button.png differdiff --git a/docs/images/app-connections/datadog/open-settings.png b/docs/images/app-connections/datadog/open-settings.pngnew file mode 100644index 0000000000..3de6ba503eBinary files /dev/null and b/docs/images/app-connections/datadog/open-settings.png differdiff --git a/docs/images/app-connections/datadog/scope-button.png b/docs/images/app-connections/datadog/scope-button.pngnew file mode 100644index 0000000000..13d13e574dBinary files /dev/null and b/docs/images/app-connections/datadog/scope-button.png differdiff --git a/docs/images/app-connections/datadog/scopes-key.png b/docs/images/app-connections/datadog/scopes-key.pngnew file mode 100644index 0000000000..bf7bd163caBinary files /dev/null and b/docs/images/app-connections/datadog/scopes-key.png differdiff --git a/docs/images/app-connections/datadog/service-account-created.png b/docs/images/app-connections/datadog/service-account-created.pngnew file mode 100644index 0000000000..f437617ce7Binary files /dev/null and b/docs/images/app-connections/datadog/service-account-created.png differdiff --git a/docs/images/app-connections/datadog/service-account-option.png b/docs/images/app-connections/datadog/service-account-option.pngnew file mode 100644index 0000000000..2f496ab197Binary files /dev/null and b/docs/images/app-connections/datadog/service-account-option.png differdiff --git a/docs/images/app-connections/datadog/service-account-page.png b/docs/images/app-connections/datadog/service-account-page.pngnew file mode 100644index 0000000000..dc38d5d316Binary files /dev/null and b/docs/images/app-connections/datadog/service-account-page.png differdiff --git a/docs/images/app-connections/ovh/okns-dashboard.png b/docs/images/app-connections/ovh/okms-dashboard.pngsimilarity index 100%rename from docs/images/app-connections/ovh/okns-dashboard.pngrename to docs/images/app-connections/ovh/okms-dashboard.pngdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-configuration.png b/docs/images/secret-rotations-v2/datadog/datadog-configuration.pngnew file mode 100644index 0000000000..34e0b2d943Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-configuration.png differdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-details.png b/docs/images/secret-rotations-v2/datadog/datadog-details.pngnew file mode 100644index 0000000000..849a48ed10Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-details.png differdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-mappings.png b/docs/images/secret-rotations-v2/datadog/datadog-mappings.pngnew file mode 100644index 0000000000..9ecdcef9c0Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-mappings.png differdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-option.png b/docs/images/secret-rotations-v2/datadog/datadog-option.pngnew file mode 100644index 0000000000..f50023e516Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-option.png differdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-parameter.png b/docs/images/secret-rotations-v2/datadog/datadog-parameter.pngnew file mode 100644index 0000000000..b218403db5Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-parameter.png differdiff --git a/docs/images/secret-rotations-v2/datadog/datadog-review.png b/docs/images/secret-rotations-v2/datadog/datadog-review.pngnew file mode 100644index 0000000000..433fd8a9c7Binary files /dev/null and b/docs/images/secret-rotations-v2/datadog/datadog-review.png differdiff --git a/docs/integrations/app-connections/datadog.mdx b/docs/integrations/app-connections/datadog.mdxnew file mode 100644index 0000000000..d77129cc66--- /dev/null+++ b/docs/integrations/app-connections/datadog.mdx@@ -0,0 +1,171 @@+---+title: "Datadog Connection"+description: "Learn how to configure a Datadog Connection for Infisical."+---++Infisical supports the use of a Datadog [API Key](https://docs.datadoghq.com/account_management/api-app-keys/) paired with a Service Account [Application Key](https://docs.datadoghq.com/account_management/org_settings/service_accounts/) to authenticate with Datadog.++<Note>+ We recommend issuing the Application Key on a dedicated Service Account so the credentials Infisical uses can be rotated and revoked independently of any individual user.+</Note>++## Create Datadog Credentials++<Steps>+ <Step title="Open Organization Settings">+ From your Datadog dashboard, hover the bottom left where it says **Integrations**. This will open a window with **Organization Settings**++ + </Step>+ <Step title="Navigate to API Keys">+ In the left sidebar, select **API Keys**.++ + </Step>+ <Step title="Create a New API Key">+ Click the **New Key** button in the top-right corner.++ + </Step>+ <Step title="Name the API Key">+ Provide a descriptive name for the API Key (e.g. `infisical-connection`) and click **Create Key**.++ + </Step>+ <Step title="Copy the API Key Value">+ Copy the generated **API Key** value and store it somewhere safe. You will need it when creating the Infisical connection.++ + </Step>+ <Step title="Navigate to Service Accounts">+ Back in **Organization Settings**, open the **Service Accounts** section from the left sidebar.++ + </Step>+ <Step title="View Service Accounts">+ On the **Service Accounts** page, click **New Service Account**.++ + </Step>+ <Step title="Create the Service Account">+ Provide a name, email, and select a role for the Service Account, then click **Create Service Account**.++ <Note>+ The Service Account's role determines which resources Infisical can access. Make sure it has access to the resources you want Infisical to manage. For secret rotation, it is required to have the `Datadog Admin Role`+ </Note>++ + </Step>+ <Step title="Open the New Service Account">+ Once created, click on created the Service Account from the list to manage its Application Keys.++ + </Step>+ <Step title="Create an Application Key">+ Under the **Application Keys** section of the Service Account, click **New Key**.++ + </Step>++ <Step title="Define a name for the Application Key ">+ Define a name for the application key++ + </Step>++ <Step title="Configure Application Key Scopes">+ Assign the scopes required for your use case. On **Scope** click on **Edit**, so you can define the scopes you want. If this is left empty, the scope of this key will be the same as the service account.++ At minimum, the Application Key needs scopes to read users and manage Service Account Application Keys if you plan to use [Datadog Application Key Secret Rotation](/documentation/platform/secret-rotation/datadog-application-key-secret). For this use case,+ you need to set `user_app_keys` under **API and Application Keys** and `service_account_writer`, `user_access_manage` and `user_access_read` under **Access Management**++ ++ + </Step>+ <Step title="Copy the Application Key Value">+ Copy the **Application Key** value and store it somewhere safe. You will need it when creating the Infisical connection.++ ++ </Step>+</Steps>++## Create Datadog Connection in Infisical++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to App Connections">+ In your Infisical dashboard, navigate to the **Integrations** tab in the desired project, then select **App Connections**.++ + </Step>+ <Step title="Select Datadog Connection">+ Click the ** Add Connection** button and select **Datadog** from the list of available connections.++ + </Step>+ <Step title="Fill out the Datadog Connection Modal">+ Complete the Datadog Connection form by entering:+ - A descriptive name for the connection+ - An optional description for future reference+ - The Datadog **URL** for your region (e.g. `https://api.datadoghq.com`, `https://api.us5.datadoghq.com`, or `https://api.ddog-gov.com`)+ - The **API Key** from earlier steps+ - The Service Account **Application Key** from earlier steps++ + </Step>+ <Step title="Connection Created">+ After clicking Create, your **Datadog Connection** is established and ready to use with your Infisical project.++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To create a Datadog Connection, make an API request to the [Create Datadog Connection](/api-reference/endpoints/app-connections/datadog/create) API endpoint.++ ### Sample request++ ```bash Request+ curl --request POST \+ --url https://app.infisical.com/api/v1/app-connections/datadog \+ --header 'Content-Type: application/json' \+ --data '{+ "name": "my-datadog-connection",+ "method": "api-key",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "credentials": {+ "url": "https://api.datadoghq.com",+ "apiKey": "<YOUR-API-KEY>",+ "applicationKey": "<YOUR-APPLICATION-KEY>"+ }+ }'+ ```++ ### Sample response++ ```bash Response+ {+ "appConnection": {+ "id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",+ "name": "my-datadog-connection",+ "projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",+ "description": null,+ "version": 1,+ "orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",+ "createdAt": "2025-04-23T19:46:34.831Z",+ "updatedAt": "2025-04-23T19:46:34.831Z",+ "isPlatformManagedCredentials": false,+ "credentialsHash": "7c2d371dec195f82a6a0d5b41c970a229cfcaf88e894a5b6395e2dbd0280661f",+ "app": "datadog",+ "method": "api-key",+ "credentials": {+ "url": "https://api.datadoghq.com"+ }+ }+ }+ ```+ </Tab>+</Tabs>diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsxindex 6a8d2e3adc..88234edea4 100644--- a/docs/snippets/AppConnectionsBrowser.jsx+++ b/docs/snippets/AppConnectionsBrowser.jsx@@ -478,6 +478,14 @@ export const AppConnectionsBrowser = () => {"Learn how to connect Snowflake to pull secrets from Infisical.",category: "Databases",},+ {+ name: "Datadog",+ slug: "datadog",+ path: "/integrations/app-connections/datadog",+ description:+ "Learn how to connect Datadog to pull secrets from Infisical.",+ category: "Monitoring",+ }].sort(function (a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());});diff --git a/docs/snippets/RotationsBrowser.jsx b/docs/snippets/RotationsBrowser.jsxindex 897d8ff255..3ac791c606 100644--- a/docs/snippets/RotationsBrowser.jsx+++ b/docs/snippets/RotationsBrowser.jsx@@ -4,7 +4,7 @@ export const RotationsBrowser = () => {const [searchTerm, setSearchTerm] = useState("");const [selectedCategory, setSelectedCategory] = useState("All");- const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics"];+ const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics", "Monitoring"];const rotations = [{@@ -160,6 +160,15 @@ export const RotationsBrowser = () => {category: "Cloud Providers",rotationType: "Dual-Phase",},+ {+ name: "Datadog Application Key",+ slug: "datadog-application-key",+ path: "/documentation/platform/secret-rotation/datadog-application-key",+ description:+ "Learn how to automatically rotate Datadog application keys.",+ category: "Monitoring",+ rotationType: "Dual-Phase",+ }].sort(function (a, b) {return a.name.toLowerCase().localeCompare(b.name.toLowerCase());});