Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge branch 'main' into feat/adilsitos/eng-4913

adilsoneecb3926b009
diff --cc backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
index 15c5529133,fd79c52813..0d543cfefb
--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
@@@ -44,5 -44,5 +45,6 @@@ export const SECRET_ROTATION_REGISTER_R
[SecretRotation.OpenRouterApiKey]: registerOpenRouterApiKeyRotationRouter,
[SecretRotation.HpIloLocalAccount]: registerHpIloRotationRouter,
[SecretRotation.SupabaseApiKey]: registerSupabaseApiKeyRotationRouter,
- [SecretRotation.SalesforceOauthCredentials]: registerSalesforceOauthCredentialsRotationRouter
++ [SecretRotation.SalesforceOauthCredentials]: registerSalesforceOauthCredentialsRotationRouter,
+ [SecretRotation.DatadogApplicationKeySecret]: registerDatadogApplicationKeySecretRotationRouter
};
diff --cc backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts
index 788383075b,b52982e713..ac683cb74e
--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts
+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts
@@@ -45,7 -45,7 +46,8 @@@ const SecretRotationV2OptionsSchema = z
OpenRouterApiKeyRotationListItemSchema,
HpIloRotationListItemSchema,
SupabaseApiKeyRotationListItemSchema,
- SalesforceOauthCredentialsRotationListItemSchema
++ SalesforceOauthCredentialsRotationListItemSchema,
+ DatadogApplicationKeySecretRotationListItemSchema
]);
export const registerSecretRotationV2Router = async (server: FastifyZodProvider) => {
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-enums.ts
index 9ab50b7947,5e6b26e51a..84280a44b1
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-enums.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-enums.ts
@@@ -17,7 -17,7 +17,8 @@@ export enum SecretRotation
OpenRouterApiKey = "open-router-api-key",
HpIloLocalAccount = "hp-ilo-local-account",
SupabaseApiKey = "supabase-api-key",
- SalesforceOauthCredentials = "salesforce-oauth-credentials"
++ SalesforceOauthCredentials = "salesforce-oauth-credentials",
+ DatadogApplicationKeySecret = "datadog-application-key-secret"
}
export enum SecretRotationStatus {
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-fns.ts
index 53a12b1616,06ff04be78..4ee7461790
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-fns.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-fns.ts
@@@ -62,7 -65,7 +66,8 @@@ const SECRET_ROTATION_LIST_OPTIONS: Rec
[SecretRotation.OpenRouterApiKey]: OPEN_ROUTER_API_KEY_ROTATION_LIST_OPTION,
[SecretRotation.HpIloLocalAccount]: HP_ILO_ROTATION_LIST_OPTION,
[SecretRotation.SupabaseApiKey]: SUPABASE_API_KEY_ROTATION_LIST_OPTION,
- [SecretRotation.SalesforceOauthCredentials]: SALESFORCE_OAUTH_CREDENTIALS_ROTATION_LIST_OPTION
++ [SecretRotation.SalesforceOauthCredentials]: SALESFORCE_OAUTH_CREDENTIALS_ROTATION_LIST_OPTION,
+ [SecretRotation.DatadogApplicationKeySecret]: DATADOG_APPLICATION_KEY_SECRET_ROTATION_LIST_OPTION
};
export const listSecretRotationOptions = () => {
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-maps.ts
index a706ea9bc0,3944eba60e..4384cc0722
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-maps.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-maps.ts
@@@ -20,7 -20,7 +20,8 @@@ export const SECRET_ROTATION_NAME_MAP:
[SecretRotation.OpenRouterApiKey]: "OpenRouter API Key",
[SecretRotation.HpIloLocalAccount]: "HP iLO Local Account",
[SecretRotation.SupabaseApiKey]: "Supabase API Key",
- [SecretRotation.SalesforceOauthCredentials]: "Salesforce OAuth Credentials"
++ [SecretRotation.SalesforceOauthCredentials]: "Salesforce OAuth Credentials",
+ [SecretRotation.DatadogApplicationKeySecret]: "Datadog Application Key"
};
export const SECRET_ROTATION_CONNECTION_MAP: Record<SecretRotation, AppConnection> = {
@@@ -42,5 -42,5 +43,6 @@@
[SecretRotation.OpenRouterApiKey]: AppConnection.OpenRouter,
[SecretRotation.HpIloLocalAccount]: AppConnection.SSH,
[SecretRotation.SupabaseApiKey]: AppConnection.Supabase,
- [SecretRotation.SalesforceOauthCredentials]: AppConnection.Salesforce
++ [SecretRotation.SalesforceOauthCredentials]: AppConnection.Salesforce,
+ [SecretRotation.DatadogApplicationKeySecret]: AppConnection.Datadog
};
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
index 01ec1cae89,40da430d80..269638c84d
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
@@@ -16,8 -16,8 +16,9 @@@ import
import { auth0ClientSecretRotationFactory } from "@app/ee/services/secret-rotation-v2/auth0-client-secret/auth0-client-secret-rotation-fns";
import { azureClientSecretRotationFactory } from "@app/ee/services/secret-rotation-v2/azure-client-secret/azure-client-secret-rotation-fns";
import { databricksServicePrincipalSecretRotationFactory } from "@app/ee/services/secret-rotation-v2/databricks-service-principal-secret/databricks-service-principal-secret-rotation-fns";
+ import { datadogApplicationKeySecretRotationFactory } from "@app/ee/services/secret-rotation-v2/datadog-application-key-secret/datadog-application-key-secret-rotation-fns";
import { ldapPasswordRotationFactory } from "@app/ee/services/secret-rotation-v2/ldap-password/ldap-password-rotation-fns";
+import { salesforceOauthCredentialsRotationFactory } from "@app/ee/services/secret-rotation-v2/salesforce-oauth-credentials/salesforce-oauth-credentials-rotation-fns";
import { SecretRotation, SecretRotationStatus } from "@app/ee/services/secret-rotation-v2/secret-rotation-v2-enums";
import {
calculateNextRotationAt,
@@@ -188,8 -191,8 +192,10 @@@ const SECRET_ROTATION_FACTORY_MAP: Reco
[SecretRotation.OpenRouterApiKey]: openRouterApiKeyRotationFactory as TRotationFactoryImplementation,
[SecretRotation.HpIloLocalAccount]: hpIloRotationFactory as TRotationFactoryImplementation,
[SecretRotation.SupabaseApiKey]: supabaseApiKeyRotationFactory as TRotationFactoryImplementation,
+ [SecretRotation.SalesforceOauthCredentials]:
- salesforceOauthCredentialsRotationFactory as TRotationFactoryImplementation
++ salesforceOauthCredentialsRotationFactory as TRotationFactoryImplementation,
+ [SecretRotation.DatadogApplicationKeySecret]:
+ datadogApplicationKeySecretRotationFactory as TRotationFactoryImplementation
};
export const secretRotationV2ServiceFactory = ({
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-types.ts
index e2cab9dbb8,3dc3136354..e7a2ad0f6f
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-types.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-types.ts
@@@ -157,7 -158,7 +165,8 @@@ export type TSecretRotationV2
| TOpenRouterApiKeyRotation
| THpIloRotation
| TSupabaseApiKeyRotation
- | TSalesforceOauthCredentialsRotation;
++ | TSalesforceOauthCredentialsRotation
+ | TDatadogApplicationKeySecretRotation;
export type TSecretRotationV2WithConnection =
| TPostgresCredentialsRotationWithConnection
@@@ -178,7 -179,7 +187,8 @@@
| TOpenRouterApiKeyRotationWithConnection
| THpIloRotationWithConnection
| TSupabaseApiKeyRotationWithConnection
- | TSalesforceOauthCredentialsRotationWithConnection;
++ | TSalesforceOauthCredentialsRotationWithConnection
+ | TDatadogApplicationKeySecretRotationWithConnection;
export type TSecretRotationV2GeneratedCredentials =
| TSqlCredentialsRotationGeneratedCredentials
@@@ -195,7 -196,7 +205,8 @@@
| TOpenRouterApiKeyRotationGeneratedCredentials
| THpIloRotationGeneratedCredentials
| TSupabaseApiKeyRotationGeneratedCredentials
- | TSalesforceOauthCredentialsRotationGeneratedCredentials;
++ | TSalesforceOauthCredentialsRotationGeneratedCredentials
+ | TDatadogApplicationKeySecretRotationGeneratedCredentials;
export type TSecretRotationV2Input =
| TPostgresCredentialsRotationInput
@@@ -216,7 -217,7 +227,8 @@@
| TOpenRouterApiKeyRotationInput
| THpIloRotationInput
| TSupabaseApiKeyRotationInput
- | TSalesforceOauthCredentialsRotationInput;
++ | TSalesforceOauthCredentialsRotationInput
+ | TDatadogApplicationKeySecretRotationInput;
export type TSecretRotationV2ListItem =
| TPostgresCredentialsRotationListItem
@@@ -237,7 -238,7 +249,8 @@@
| TOpenRouterApiKeyRotationListItem
| THpIloRotationListItem
| TSupabaseApiKeyRotationListItem
- | TSalesforceOauthCredentialsRotationListItem;
++ | TSalesforceOauthCredentialsRotationListItem
+ | TDatadogApplicationKeySecretRotationListItem;
export type TSecretRotationV2TemporaryParameters =
| TLdapPasswordRotationInput["temporaryParameters"]
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-union-schema.ts
index d1e45df22e,963534e9a3..c7446a58c1
--- a/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-union-schema.ts
+++ b/backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-union-schema.ts
@@@ -40,5 -40,5 +41,6 @@@ export const SecretRotationV2Schema = z
OpenRouterApiKeyRotationSchema,
HpIloRotationSchema,
SupabaseApiKeyRotationSchema,
- SalesforceOauthCredentialsRotationSchema
++ SalesforceOauthCredentialsRotationSchema,
+ DatadogApplicationKeySecretRotationSchema
]);
diff --cc backend/src/lib/api-docs/constants.ts
index a38f91a1ad,fbf4b4afce..c2a657d1bd
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@@ -3319,9 -3337,8 +3342,12 @@@ export const SecretRotations =
projectRef: "The reference ID of the Supabase project to rotate the API key for.",
keyType: "The type of the API key to rotate (e.g. publishable, secret)."
},
+ SALESFORCE_OAUTH_CREDENTIALS: {
+ appId: "The identifier of the Salesforce External Client App to rotate the consumer secret for.",
+ appName: "The developer name of the Salesforce External Client App to rotate the consumer secret for."
++ },
+ DATADOG_APPLICATION_KEY_SECRET: {
+ serviceAccountId: "The ID of the Datadog service account to rotate the application key for."
}
},
SECRETS_MAPPING: {
@@@ -3386,9 -3403,9 +3412,13 @@@
SUPABASE_API_KEY: {
apiKey: "The name of the secret that the rotated Supabase API key will be mapped to."
},
+ SALESFORCE_OAUTH_CREDENTIALS: {
+ consumerKey: "The name of the secret that the rotated Salesforce consumer key will be mapped to.",
+ consumerSecret: "The name of the secret that the rotated Salesforce consumer secret will be mapped to."
++ },
+ DATADOG_APPLICATION_KEY_SECRET: {
+ applicationKeyId: "The name of the secret that the rotated Datadog application key ID will be mapped to.",
+ applicationKey: "The name of the secret that the rotated Datadog application key value will be mapped to."
}
}
};
diff --cc backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts
index 3885f721b6,57e02bee7d..f98a37c821
--- a/backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts
+++ b/backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts
@@@ -263,8 -263,8 +267,9 @@@ const SanitizedAppConnectionSchema = z.
...SanitizedOnaConnectionSchema.options,
...SanitizedDigiCertConnectionSchema.options,
...SanitizedTravisCIConnectionSchema.options,
+ ...SanitizedSalesforceConnectionSchema.options,
- ...SanitizedSnowflakeConnectionSchema.options
+ ...SanitizedSnowflakeConnectionSchema.options,
+ ...SanitizedDatadogConnectionSchema.options
]);
const AppConnectionOptionsSchema = z.discriminatedUnion("app", [
@@@ -331,8 -331,8 +336,9 @@@
OnaConnectionListItemSchema,
DigiCertConnectionListItemSchema,
TravisCIConnectionListItemSchema,
+ SalesforceConnectionListItemSchema,
- SnowflakeConnectionListItemSchema
+ SnowflakeConnectionListItemSchema,
+ DatadogConnectionListItemSchema
]);
export const registerAppConnectionRouter = async (server: FastifyZodProvider) => {
diff --cc backend/src/server/routes/v1/app-connection-routers/index.ts
index 7538c83de6,52566fa7aa..f0c5105efc
--- a/backend/src/server/routes/v1/app-connection-routers/index.ts
+++ b/backend/src/server/routes/v1/app-connection-routers/index.ts
@@@ -133,6 -133,6 +134,7 @@@ export const APP_CONNECTION_REGISTER_RO
[AppConnection.Ona]: registerOnaConnectionRouter,
[AppConnection.DigiCert]: registerDigiCertConnectionRouter,
[AppConnection.TravisCI]: registerTravisCIConnectionRouter,
+ [AppConnection.Salesforce]: registerSalesforceConnectionRouter,
- [AppConnection.Snowflake]: registerSnowflakeConnectionRouter
+ [AppConnection.Snowflake]: registerSnowflakeConnectionRouter,
+ [AppConnection.Datadog]: registerDatadogConnectionRouter
};
diff --cc backend/src/services/app-connection/app-connection-enums.ts
index fff4aa96ab,556ce1e2f4..783a04e8e5
--- a/backend/src/services/app-connection/app-connection-enums.ts
+++ b/backend/src/services/app-connection/app-connection-enums.ts
@@@ -62,8 -62,8 +62,9 @@@ export enum AppConnection
Ona = "ona",
DigiCert = "digicert",
TravisCI = "travis-ci",
+ Salesforce = "salesforce",
- Snowflake = "snowflake"
+ Snowflake = "snowflake",
+ Datadog = "datadog"
}
export enum AWSRegion {
diff --cc backend/src/services/app-connection/app-connection-fns.ts
index 86239ae7ec,8788a865f3..7371e0ac76
--- a/backend/src/services/app-connection/app-connection-fns.ts
+++ b/backend/src/services/app-connection/app-connection-fns.ts
@@@ -332,8 -328,8 +333,9 @@@ export const listAppConnectionOptions
getOnaConnectionListItem(),
getDigiCertConnectionListItem(),
getTravisCIConnectionListItem(),
+ getSalesforceConnectionListItem(),
- getSnowflakeConnectionListItem()
+ getSnowflakeConnectionListItem(),
+ getDatadogConnectionListItem()
]
.filter((option) => {
switch (projectType) {
@@@ -494,10 -490,10 +496,11 @@@ export const validateAppConnectionCrede
deps.identityUaDAL
)) as TAppConnectionCredentialsValidator,
[AppConnection.Doppler]: validateDopplerConnectionCredentials as TAppConnectionCredentialsValidator,
+ [AppConnection.Salesforce]: validateSalesforceConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.OVH]: validateOvhConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.DigiCert]: validateDigiCertConnectionCredentials as TAppConnectionCredentialsValidator,
- [AppConnection.Snowflake]: validateSnowflakeConnectionCredentials as TAppConnectionCredentialsValidator
+ [AppConnection.Snowflake]: validateSnowflakeConnectionCredentials as TAppConnectionCredentialsValidator,
+ [AppConnection.Datadog]: validateDatadogConnectionCredentials as TAppConnectionCredentialsValidator
};
return VALIDATE_APP_CONNECTION_CREDENTIALS_MAP[appConnection.app](appConnection, gatewayService, gatewayV2Service);
@@@ -720,8 -716,8 +724,9 @@@ export const TRANSITION_CONNECTION_CRED
[AppConnection.Ona]: platformManagedCredentialsNotSupported,
[AppConnection.DigiCert]: platformManagedCredentialsNotSupported,
[AppConnection.TravisCI]: platformManagedCredentialsNotSupported,
+ [AppConnection.Salesforce]: platformManagedCredentialsNotSupported,
- [AppConnection.Snowflake]: platformManagedCredentialsNotSupported
+ [AppConnection.Snowflake]: platformManagedCredentialsNotSupported,
+ [AppConnection.Datadog]: platformManagedCredentialsNotSupported
};
export const enterpriseAppCheck = async (
diff --cc backend/src/services/app-connection/app-connection-maps.ts
index 9ec990fcc0,e33a869165..cb5e2cbc02
--- a/backend/src/services/app-connection/app-connection-maps.ts
+++ b/backend/src/services/app-connection/app-connection-maps.ts
@@@ -64,8 -64,8 +64,9 @@@ export const APP_CONNECTION_NAME_MAP: R
[AppConnection.Ona]: "Ona",
[AppConnection.DigiCert]: "DigiCert",
[AppConnection.TravisCI]: "Travis CI",
+ [AppConnection.Salesforce]: "Salesforce",
- [AppConnection.Snowflake]: "Snowflake"
+ [AppConnection.Snowflake]: "Snowflake",
+ [AppConnection.Datadog]: "Datadog"
};
export const APP_CONNECTION_PLAN_MAP: Record<AppConnection, AppConnectionPlanType> = {
@@@ -132,6 -132,6 +133,7 @@@
[AppConnection.Ona]: AppConnectionPlanType.Regular,
[AppConnection.DigiCert]: AppConnectionPlanType.Regular,
[AppConnection.TravisCI]: AppConnectionPlanType.Regular,
+ [AppConnection.Salesforce]: AppConnectionPlanType.Regular,
- [AppConnection.Snowflake]: AppConnectionPlanType.Regular
+ [AppConnection.Snowflake]: AppConnectionPlanType.Regular,
+ [AppConnection.Datadog]: AppConnectionPlanType.Regular
};
diff --cc backend/src/services/app-connection/app-connection-service.ts
index 5b6a548ed7,4c59572e6c..54251638a4
--- a/backend/src/services/app-connection/app-connection-service.ts
+++ b/backend/src/services/app-connection/app-connection-service.ts
@@@ -242,8 -247,8 +249,9 @@@ const VALIDATE_APP_CONNECTION_CREDENTIA
[AppConnection.Ona]: ValidateOnaConnectionCredentialsSchema,
[AppConnection.DigiCert]: ValidateDigiCertConnectionCredentialsSchema,
[AppConnection.TravisCI]: ValidateTravisCIConnectionCredentialsSchema,
+ [AppConnection.Salesforce]: ValidateSalesforceConnectionCredentialsSchema,
- [AppConnection.Snowflake]: ValidateSnowflakeConnectionCredentialsSchema
+ [AppConnection.Snowflake]: ValidateSnowflakeConnectionCredentialsSchema,
+ [AppConnection.Datadog]: ValidateDatadogConnectionCredentialsSchema
};
export const appConnectionServiceFactory = ({
@@@ -1093,8 -1168,7 +1171,8 @@@
azureClientSecrets: azureClientSecretsConnectionService(connectAppConnectionById, appConnectionDAL, kmsService),
azureDevOps: azureDevOpsConnectionService(connectAppConnectionById, appConnectionDAL, kmsService),
auth0: auth0ConnectionService(connectAppConnectionById, appConnectionDAL, kmsService),
+ salesforce: salesforceConnectionService(connectAppConnectionById),
- hcvault: hcVaultConnectionService(connectAppConnectionById, gatewayService, gatewayV2Service),
+ hcvault: hcVaultConnectionService(connectAppConnectionById, gatewayService, gatewayV2Service, gatewayPoolService),
windmill: windmillConnectionService(connectAppConnectionById),
teamcity: teamcityConnectionService(connectAppConnectionById),
oci: ociConnectionService(connectAppConnectionById, licenseService),
diff --cc backend/src/services/app-connection/app-connection-types.ts
index e9f6a16021,cfda59d106..068bb6c727
--- a/backend/src/services/app-connection/app-connection-types.ts
+++ b/backend/src/services/app-connection/app-connection-types.ts
@@@ -448,8 -448,8 +454,9 @@@ export type TAppConnection = { id: stri
| TOnaConnection
| TDigiCertConnection
| TTravisCIConnection
+ | TSalesforceConnection
| TSnowflakeConnection
+ | TDatadogConnection
);
export type TAppConnectionRaw = NonNullable<Awaited<ReturnType<TAppConnectionDALFactory["findById"]>>>;
@@@ -524,8 -524,8 +531,9 @@@ export type TAppConnectionInput = { id
| TOnaConnectionInput
| TDigiCertConnectionInput
| TTravisCIConnectionInput
+ | TSalesforceConnectionInput
| TSnowflakeConnectionInput
+ | TDatadogConnectionInput
);
export type TSqlConnectionInput =
@@@ -629,8 -630,8 +638,9 @@@ export type TAppConnectionConfig
| TOnaConnectionConfig
| TDigiCertConnectionConfig
| TTravisCIConnectionConfig
+ | TSalesforceConnectionConfig
- | TSnowflakeConnectionConfig;
+ | TSnowflakeConnectionConfig
+ | TDatadogConnectionConfig;
export type TValidateAppConnectionCredentialsSchema =
| TValidateAwsConnectionCredentialsSchema
@@@ -696,8 -697,8 +706,9 @@@
| TValidateOnaConnectionCredentialsSchema
| TValidateDigiCertConnectionCredentialsSchema
| TValidateTravisCIConnectionCredentialsSchema
+ | TValidateSalesforceConnectionCredentialsSchema
- | TValidateSnowflakeConnectionCredentialsSchema;
+ | TValidateSnowflakeConnectionCredentialsSchema
+ | TValidateDatadogConnectionCredentialsSchema;
export type TListAwsConnectionKmsKeys = {
connectionId: string;
diff --cc docs/snippets/RotationsBrowser.jsx
index 81d229b97b,457bddbda8..4ac8b1c3ca
--- a/docs/snippets/RotationsBrowser.jsx
+++ b/docs/snippets/RotationsBrowser.jsx
@@@ -4,7 -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", "SaaS"];
- const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics", "Monitoring"];
++ const categories = ["All", "Databases", "Identity & Auth", "Cloud Providers", "Networking & DNS", "Data Analytics", "Monitoring", "SaaS"];
const rotations = [
{
@@@ -160,14 -160,14 +160,23 @@@
category: "Cloud Providers",
rotationType: "Dual-Phase",
},
+ {
+ name: "Salesforce External Client App",
+ slug: "salesforce-external-client-app",
+ path: "/documentation/platform/secret-rotation/salesforce-oauth-credentials",
+ description:
+ "Learn how to automatically rotate Salesforce OAuth credentials.",
+ category: "SaaS",
+ rotationType: "Dual-Phase",
++ },
+ {
+ name: "Datadog Application Key",
+ slug: "datadog-application-key",
+ path: "/documentation/platform/secret-rotation/datadog-application-key-secret",
+ 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());
diff --cc frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
index 1ef9bd55e8,6708f17f9f..7115ec5685
--- a/frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
+++ b/frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
@@@ -173,13 -173,13 +174,20 @@@ const Content = ({ secretRotation }: Co
/>
);
break;
+ case SecretRotation.SalesforceOauthCredentials:
+ Component = (
+ <ViewSalesforceOauthCredentialsRotationGeneratedCredentials
+ generatedCredentialsResponse={generatedCredentialsResponse}
+ />
+ );
+ break;
+ case SecretRotation.DatadogApplicationKeySecret:
+ Component = (
+ <ViewDatadogApplicationKeySecretRotationGeneratedCredentials
+ generatedCredentialsResponse={generatedCredentialsResponse}
+ />
+ );
+ break;
default:
throw new Error("Unhandled View Generated Credential Rotation Type");
}
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
index 94e220c7ce,f46dd8bbbf..b43f5eed35
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
@@@ -40,7 -40,7 +41,8 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationParametersFields,
[SecretRotation.HpIloLocalAccount]: HpIloRotationParametersFields,
[SecretRotation.SupabaseApiKey]: SupabaseApiKeyRotationParametersFields,
- [SecretRotation.SalesforceOauthCredentials]: SalesforceOauthCredentialsRotationParametersFields
++ [SecretRotation.SalesforceOauthCredentials]: SalesforceOauthCredentialsRotationParametersFields,
+ [SecretRotation.DatadogApplicationKeySecret]: DatadogApplicationKeySecretRotationParametersFields
};
export const SecretRotationV2ParametersFields = () => {
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
index 7f3a2c6ee7,cd5016fa6e..e8926b0caa
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
@@@ -42,7 -42,7 +43,8 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationReviewFields,
[SecretRotation.HpIloLocalAccount]: HpIloRotationReviewFields,
[SecretRotation.SupabaseApiKey]: SupabaseApiKeyRotationReviewFields,
- [SecretRotation.SalesforceOauthCredentials]: SalesforceOauthCredentialsRotationReviewFields
++ [SecretRotation.SalesforceOauthCredentials]: SalesforceOauthCredentialsRotationReviewFields,
+ [SecretRotation.DatadogApplicationKeySecret]: DatadogApplicationKeySecretRotationReviewFields
};
export const SecretRotationV2ReviewFields = () => {
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
index e66a8579e2,12ad5143d2..1b83ccf175
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
@@@ -39,8 -39,8 +40,10 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationSecretsMappingFields,
[SecretRotation.HpIloLocalAccount]: HpIloRotationSecretsMappingFields,
[SecretRotation.SupabaseApiKey]: SupabaseApiKeyRotationSecretsMappingFields,
+ [SecretRotation.SalesforceOauthCredentials]:
- SalesforceOauthCredentialsRotationSecretsMappingFields
++ SalesforceOauthCredentialsRotationSecretsMappingFields,
+ [SecretRotation.DatadogApplicationKeySecret]:
+ DatadogApplicationKeySecretRotationSecretsMappingFields
};
export const SecretRotationV2SecretsMappingFields = () => {
diff --cc frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
index 61aee9da30,6a12c5b0ce..6051cafc84
--- a/frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
+++ b/frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
@@@ -48,7 -48,7 +49,8 @@@ export const SecretRotationV2FormSchem
OpenRouterApiKeyRotationSchema,
HpIloRotationSchema,
SupabaseApiKeyRotationSchema,
- SalesforceOauthCredentialsRotationSchema
++ SalesforceOauthCredentialsRotationSchema,
+ DatadogApplicationKeySecretRotationSchema
]),
z.object({ id: z.string().optional() })
)
diff --cc frontend/src/helpers/appConnections.ts
index 68cd374704,189e2f944c..d845020cee
--- a/frontend/src/helpers/appConnections.ts
+++ b/frontend/src/helpers/appConnections.ts
@@@ -178,8 -178,8 +179,9 @@@ export const APP_CONNECTION_MAP: Record
[AppConnection.Ona]: { name: "Ona", image: "Ona.png", aliases: ["gitpod"] },
[AppConnection.DigiCert]: { name: "DigiCert", image: "DigiCert.png" },
[AppConnection.TravisCI]: { name: "Travis CI", image: "Travis CI.png" },
+ [AppConnection.Salesforce]: { name: "Salesforce", image: "Salesforce.png" },
- [AppConnection.Snowflake]: { name: "Snowflake", image: "Snowflake.png" }
+ [AppConnection.Snowflake]: { name: "Snowflake", image: "Snowflake.png" },
+ [AppConnection.Datadog]: { name: "Datadog", image: "DatadogWhite.png" }
};
export const getAppConnectionMethodDetails = (method: TAppConnection["method"]) => {
diff --cc frontend/src/helpers/secretRotationsV2.ts
index 359f3601fc,e5a325e227..86969542a5
--- a/frontend/src/helpers/secretRotationsV2.ts
+++ b/frontend/src/helpers/secretRotationsV2.ts
@@@ -95,10 -95,10 +95,15 @@@ export const SECRET_ROTATION_MAP: Recor
image: "Supabase.png",
size: 50
},
+ [SecretRotation.SalesforceOauthCredentials]: {
+ name: "Salesforce OAuth Credentials",
+ image: "Salesforce.png",
+ size: 50
++ },
+ [SecretRotation.DatadogApplicationKeySecret]: {
+ name: "Datadog Application Key",
+ image: "DatadogWhite.png",
+ size: 50
}
};
@@@ -121,7 -121,7 +126,8 @@@ export const SECRET_ROTATION_CONNECTION
[SecretRotation.OpenRouterApiKey]: AppConnection.OpenRouter,
[SecretRotation.HpIloLocalAccount]: AppConnection.SSH,
[SecretRotation.SupabaseApiKey]: AppConnection.Supabase,
- [SecretRotation.SalesforceOauthCredentials]: AppConnection.Salesforce
++ [SecretRotation.SalesforceOauthCredentials]: AppConnection.Salesforce,
+ [SecretRotation.DatadogApplicationKeySecret]: AppConnection.Datadog
};
// if a rotation can potentially have downtime due to rotating a single credential set this to false
@@@ -144,7 -144,7 +150,8 @@@ export const IS_ROTATION_DUAL_CREDENTIA
[SecretRotation.OpenRouterApiKey]: true,
[SecretRotation.HpIloLocalAccount]: false,
[SecretRotation.SupabaseApiKey]: true,
- [SecretRotation.SalesforceOauthCredentials]: true
++ [SecretRotation.SalesforceOauthCredentials]: true,
+ [SecretRotation.DatadogApplicationKeySecret]: true
};
export const getRotateAtLocal = ({ hours, minutes }: TSecretRotationV2["rotateAtUtc"]) => {
diff --cc frontend/src/hooks/api/appConnections/enums.ts
index 1cb0a5527d,5b7fed5030..00dffd96f4
--- a/frontend/src/hooks/api/appConnections/enums.ts
+++ b/frontend/src/hooks/api/appConnections/enums.ts
@@@ -62,6 -62,6 +62,7 @@@ export enum AppConnection
Ona = "ona",
DigiCert = "digicert",
TravisCI = "travis-ci",
+ Salesforce = "salesforce",
- Snowflake = "snowflake"
+ Snowflake = "snowflake",
+ Datadog = "datadog"
}
diff --cc frontend/src/hooks/api/appConnections/types/app-options.ts
index 0d970d43bc,1b70b1bdd3..13a7d4f77e
--- a/frontend/src/hooks/api/appConnections/types/app-options.ts
+++ b/frontend/src/hooks/api/appConnections/types/app-options.ts
@@@ -337,8 -338,8 +341,9 @@@ export type TAppConnectionOption
| TOnaConnectionOption
| TDigiCertConnectionOption
| TTravisCIConnectionOption
+ | TSalesforceConnectionOption
- | TSnowflakeConnectionOption;
+ | TSnowflakeConnectionOption
+ | TDatadogConnectionOption;
export type TAppConnectionOptionMap = {
[AppConnection.AWS]: TAwsConnectionOption;
@@@ -404,6 -405,6 +409,7 @@@
[AppConnection.Ona]: TOnaConnectionOption;
[AppConnection.DigiCert]: TDigiCertConnectionOption;
[AppConnection.TravisCI]: TTravisCIConnectionOption;
+ [AppConnection.Salesforce]: TSalesforceConnectionOption;
[AppConnection.Snowflake]: TSnowflakeConnectionOption;
+ [AppConnection.Datadog]: TDatadogConnectionOption;
};
diff --cc frontend/src/hooks/api/appConnections/types/index.ts
index 1af03faa6d,44dcfeb032..e2fa8ea202
--- a/frontend/src/hooks/api/appConnections/types/index.ts
+++ b/frontend/src/hooks/api/appConnections/types/index.ts
@@@ -194,8 -194,8 +196,9 @@@ export type TAppConnection
| TOnaConnection
| TDigiCertConnection
| TTravisCIConnection
+ | TSalesforceConnection
- | TSnowflakeConnection;
+ | TSnowflakeConnection
+ | TDatadogConnection;
export type TAvailableAppConnection = Pick<TAppConnection, "name" | "id" | "projectId">;
diff --cc frontend/src/hooks/api/secretRotationsV2/enums.ts
index 545ee59604,fa46aa5d67..e674d33eb5
--- a/frontend/src/hooks/api/secretRotationsV2/enums.ts
+++ b/frontend/src/hooks/api/secretRotationsV2/enums.ts
@@@ -17,7 -17,7 +17,8 @@@ export enum SecretRotation
OpenRouterApiKey = "open-router-api-key",
HpIloLocalAccount = "hp-ilo-local-account",
SupabaseApiKey = "supabase-api-key",
- SalesforceOauthCredentials = "salesforce-oauth-credentials"
++ SalesforceOauthCredentials = "salesforce-oauth-credentials",
+ DatadogApplicationKeySecret = "datadog-application-key-secret"
}
export enum SecretRotationStatus {
diff --cc frontend/src/hooks/api/secretRotationsV2/types/index.ts
index f685c3eda5,1443e3d57f..ae0caa929c
--- a/frontend/src/hooks/api/secretRotationsV2/types/index.ts
+++ b/frontend/src/hooks/api/secretRotationsV2/types/index.ts
@@@ -114,7 -114,7 +119,8 @@@ export type TSecretRotationV2 =
| TOpenRouterApiKeyRotation
| THpIloRotation
| TSupabaseApiKeyRotation
+ | TSalesforceOauthCredentialsRotation
+ | TDatadogApplicationKeySecretRotation
) & {
secrets: (SecretV3RawSanitized | null)[];
};
@@@ -135,7 -135,7 +141,8 @@@ export type TSecretRotationV2Option
| TOpenRouterApiKeyRotationOption
| THpIloRotationOption
| TSupabaseApiKeyRotationOption
- | TSalesforceOauthCredentialsRotationOption;
++ | TSalesforceOauthCredentialsRotationOption
+ | TDatadogApplicationKeySecretRotationOption;
export type TListSecretRotationV2Options = { secretRotationOptions: TSecretRotationV2Option[] };
@@@ -160,7 -160,7 +167,8 @@@ export type TViewSecretRotationGenerate
| TOpenRouterApiKeyRotationGeneratedCredentialsResponse
| THpIloRotationGeneratedCredentialsResponse
| TSupabaseApiKeyRotationGeneratedCredentialsResponse
- | TSalesforceOauthCredentialsRotationGeneratedCredentialsResponse;
++ | TSalesforceOauthCredentialsRotationGeneratedCredentialsResponse
+ | TDatadogApplicationKeySecretRotationGeneratedCredentialsResponse;
export type TCreateSecretRotationV2DTO = DiscriminativePick<
TSecretRotationV2,
@@@ -233,7 -233,7 +241,8 @@@ export type TSecretRotationOptionMap =
[SecretRotation.OpenRouterApiKey]: TOpenRouterApiKeyRotationOption;
[SecretRotation.HpIloLocalAccount]: THpIloRotationOption;
[SecretRotation.SupabaseApiKey]: TSupabaseApiKeyRotationOption;
+ [SecretRotation.SalesforceOauthCredentials]: TSalesforceOauthCredentialsRotationOption;
+ [SecretRotation.DatadogApplicationKeySecret]: TDatadogApplicationKeySecretRotationOption;
};
export type TSecretRotationGeneratedCredentialsResponseMap = {
@@@ -255,7 -255,7 +264,8 @@@
[SecretRotation.OpenRouterApiKey]: TOpenRouterApiKeyRotationGeneratedCredentialsResponse;
[SecretRotation.HpIloLocalAccount]: THpIloRotationGeneratedCredentialsResponse;
[SecretRotation.SupabaseApiKey]: TSupabaseApiKeyRotationGeneratedCredentialsResponse;
+ [SecretRotation.SalesforceOauthCredentials]: TSalesforceOauthCredentialsRotationGeneratedCredentialsResponse;
+ [SecretRotation.DatadogApplicationKeySecret]: TDatadogApplicationKeySecretRotationGeneratedCredentialsResponse;
};
// Unified type for local account reconciliation (Unix/Linux, Windows, and HP iLO)
diff --cc frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
index bb08ff8751,70fa54dfb7..e7fe78f92a
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
@@@ -299,10 -299,10 +300,12 @@@ const CreateForm = ({ app, onComplete,
return <DigiCertConnectionForm onSubmit={onSubmit} />;
case AppConnection.TravisCI:
return <TravisCIConnectionForm onSubmit={onSubmit} />;
+ case AppConnection.Salesforce:
+ return <SalesforceConnectionForm onSubmit={onSubmit} />;
case AppConnection.Snowflake:
return <SnowflakeConnectionForm onSubmit={onSubmit} />;
+ case AppConnection.Datadog:
+ return <DatadogConnectionForm onSubmit={onSubmit} />;
default:
throw new Error(`Unhandled App ${app}`);
}
@@@ -526,10 -526,10 +529,12 @@@ const UpdateForm = ({ appConnection, on
return <DigiCertConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.TravisCI:
return <TravisCIConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
+ case AppConnection.Salesforce:
+ return <SalesforceConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.Snowflake:
return <SnowflakeConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
+ case AppConnection.Datadog:
+ return <DatadogConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.Venafi:
return <VenafiConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.VenafiTpp: