Skip to content

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

Merge branch 'main' into daniel/dbt-rotation

Daniel Hougaard24bfe08b9ebd
diff --cc backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
index df7432d43d,eefa3655c9..65b7af90de
--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/index.ts
@@@ -35,6 -35,6 +36,7 @@@ export const SECRET_ROTATION_REGISTER_R
[SecretRotation.MongoDBCredentials]: registerMongoDBCredentialsRotationRouter,
[SecretRotation.DatabricksServicePrincipalSecret]: registerDatabricksServicePrincipalSecretRotationRouter,
[SecretRotation.UnixLinuxLocalAccount]: registerUnixLinuxLocalAccountRotationRouter,
+ [SecretRotation.DbtServiceToken]: registerDbtServiceTokenRotationRouter,
+ [SecretRotation.WindowsLocalAccount]: registerWindowsLocalAccountRotationRouter,
[SecretRotation.OpenRouterApiKey]: registerOpenRouterApiKeyRotationRouter
};
diff --cc backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts
index e382a4c41f,f8f9acf0bf..7d035b4a6e
--- 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
@@@ -36,7 -36,7 +37,8 @@@ const SecretRotationV2OptionsSchema = z
MongoDBCredentialsRotationListItemSchema,
DatabricksServicePrincipalSecretRotationListItemSchema,
UnixLinuxLocalAccountRotationListItemSchema,
+ DbtServiceTokenRotationListItemSchema,
+ WindowsLocalAccountRotationListItemSchema,
OpenRouterApiKeyRotationListItemSchema
]);
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-enums.ts
index 176073be26,99af3d2b0a..fa9d6b5496
--- 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
@@@ -12,7 -12,7 +12,8 @@@ export enum SecretRotation
MongoDBCredentials = "mongodb-credentials",
DatabricksServicePrincipalSecret = "databricks-service-principal-secret",
UnixLinuxLocalAccount = "unix-linux-local-account",
+ DbtServiceToken = "dbt-service-token",
+ WindowsLocalAccount = "windows-local-account",
OpenRouterApiKey = "open-router-api-key"
}
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-fns.ts
index 70b16648c6,ed2fbc0617..cd5c28a80a
--- 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
@@@ -49,7 -52,7 +53,8 @@@ const SECRET_ROTATION_LIST_OPTIONS: Rec
[SecretRotation.MongoDBCredentials]: MONGODB_CREDENTIALS_ROTATION_LIST_OPTION,
[SecretRotation.DatabricksServicePrincipalSecret]: DATABRICKS_SERVICE_PRINCIPAL_SECRET_ROTATION_LIST_OPTION,
[SecretRotation.UnixLinuxLocalAccount]: UNIX_LINUX_LOCAL_ACCOUNT_ROTATION_LIST_OPTION,
+ [SecretRotation.DbtServiceToken]: DBT_SERVICE_TOKEN_ROTATION_LIST_OPTION,
+ [SecretRotation.WindowsLocalAccount]: WINDOWS_LOCAL_ACCOUNT_ROTATION_LIST_OPTION,
[SecretRotation.OpenRouterApiKey]: OPEN_ROUTER_API_KEY_ROTATION_LIST_OPTION
};
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-maps.ts
index 8a58be251b,bbe0588fad..2ac204055d
--- 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
@@@ -15,7 -15,7 +15,8 @@@ export const SECRET_ROTATION_NAME_MAP:
[SecretRotation.MongoDBCredentials]: "MongoDB Credentials",
[SecretRotation.DatabricksServicePrincipalSecret]: "Databricks Service Principal Secret",
[SecretRotation.UnixLinuxLocalAccount]: "Unix/Linux Local Account",
+ [SecretRotation.DbtServiceToken]: "DBT Service Token",
+ [SecretRotation.WindowsLocalAccount]: "Windows Local Account",
[SecretRotation.OpenRouterApiKey]: "OpenRouter API Key"
};
@@@ -33,6 -33,6 +34,7 @@@ export const SECRET_ROTATION_CONNECTION
[SecretRotation.MongoDBCredentials]: AppConnection.MongoDB,
[SecretRotation.DatabricksServicePrincipalSecret]: AppConnection.Databricks,
[SecretRotation.UnixLinuxLocalAccount]: AppConnection.SSH,
+ [SecretRotation.DbtServiceToken]: AppConnection.Dbt,
+ [SecretRotation.WindowsLocalAccount]: AppConnection.SMB,
[SecretRotation.OpenRouterApiKey]: AppConnection.OpenRouter
};
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-service.ts
index 9097ae90f0,a10313c283..e9f677d48d
--- 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
@@@ -149,7 -159,7 +160,8 @@@ const SECRET_ROTATION_FACTORY_MAP: Reco
[SecretRotation.DatabricksServicePrincipalSecret]:
databricksServicePrincipalSecretRotationFactory as TRotationFactoryImplementation,
[SecretRotation.UnixLinuxLocalAccount]: unixLinuxLocalAccountRotationFactory as TRotationFactoryImplementation,
+ [SecretRotation.DbtServiceToken]: dbtServiceTokenRotationFactory as TRotationFactoryImplementation,
+ [SecretRotation.WindowsLocalAccount]: windowsLocalAccountRotationFactory as TRotationFactoryImplementation,
[SecretRotation.OpenRouterApiKey]: openRouterApiKeyRotationFactory as TRotationFactoryImplementation
};
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-types.ts
index df04e4f94f,276fd5bf33..7edd9e4b33
--- 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
@@@ -124,7 -124,7 +131,8 @@@ export type TSecretRotationV2
| TMongoDBCredentialsRotation
| TDatabricksServicePrincipalSecretRotation
| TUnixLinuxLocalAccountRotation
+ | TDbtServiceTokenRotation
+ | TWindowsLocalAccountRotation
| TOpenRouterApiKeyRotation;
export type TSecretRotationV2WithConnection =
@@@ -141,7 -141,7 +149,8 @@@
| TMongoDBCredentialsRotationWithConnection
| TDatabricksServicePrincipalSecretRotationWithConnection
| TUnixLinuxLocalAccountRotationWithConnection
+ | TDbtServiceTokenRotationWithConnection
+ | TWindowsLocalAccountRotationWithConnection
| TOpenRouterApiKeyRotationWithConnection;
export type TSecretRotationV2GeneratedCredentials =
@@@ -154,7 -154,7 +163,8 @@@
| TRedisCredentialsRotationGeneratedCredentials
| TDatabricksServicePrincipalSecretRotationGeneratedCredentials
| TUnixLinuxLocalAccountRotationGeneratedCredentials
+ | TDbtServiceTokenRotationGeneratedCredentials
+ | TWindowsLocalAccountRotationGeneratedCredentials
| TOpenRouterApiKeyRotationGeneratedCredentials;
export type TSecretRotationV2Input =
@@@ -171,7 -171,7 +181,8 @@@
| TMongoDBCredentialsRotationInput
| TDatabricksServicePrincipalSecretRotationInput
| TUnixLinuxLocalAccountRotationInput
+ | TDbtServiceTokenRotationInput
+ | TWindowsLocalAccountRotationInput
| TOpenRouterApiKeyRotationInput;
export type TSecretRotationV2ListItem =
@@@ -188,7 -188,7 +199,8 @@@
| TMongoDBCredentialsRotationListItem
| TDatabricksServicePrincipalSecretRotationListItem
| TUnixLinuxLocalAccountRotationListItem
+ | TDbtServiceTokenRotationListItem
+ | TWindowsLocalAccountRotationListItem
| TOpenRouterApiKeyRotationListItem;
export type TSecretRotationV2TemporaryParameters =
diff --cc backend/src/ee/services/secret-rotation-v2/secret-rotation-v2-union-schema.ts
index 3b9c5e197a,9b7939edd2..9f9f9a780c
--- 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
@@@ -14,9 -14,8 +14,10 @@@ import { OracleDBCredentialsRotationSch
import { PostgresCredentialsRotationSchema } from "@app/ee/services/secret-rotation-v2/postgres-credentials";
import { RedisCredentialsRotationSchema } from "@app/ee/services/secret-rotation-v2/redis-credentials";
import { UnixLinuxLocalAccountRotationSchema } from "@app/ee/services/secret-rotation-v2/unix-linux-local-account-rotation";
+ import { WindowsLocalAccountRotationSchema } from "@app/ee/services/secret-rotation-v2/windows-local-account-rotation";
+import { DbtServiceTokenRotationSchema } from "./dbt-service-token";
+
export const SecretRotationV2Schema = z.discriminatedUnion("type", [
PostgresCredentialsRotationSchema,
MsSqlCredentialsRotationSchema,
@@@ -31,6 -30,6 +32,7 @@@
MongoDBCredentialsRotationSchema,
DatabricksServicePrincipalSecretRotationSchema,
UnixLinuxLocalAccountRotationSchema,
+ DbtServiceTokenRotationSchema,
+ WindowsLocalAccountRotationSchema,
OpenRouterApiKeyRotationSchema
]);
diff --cc backend/src/lib/api-docs/constants.ts
index aa9b643c05,8254f88ea0..9bc9a3efc8
--- a/backend/src/lib/api-docs/constants.ts
+++ b/backend/src/lib/api-docs/constants.ts
@@@ -2626,11 -2626,13 +2626,18 @@@ export const AppConnections =
privateKey: "The private key in PEM format for SSH authentication (required when authMethod is 'ssh-key').",
passphrase: "The passphrase for the private key, if encrypted (optional, only for 'ssh-key' authMethod)."
},
+ DBT: {
+ apiToken: "The API token used to authenticate with DBT.",
+ accountId: "The account ID of your DBT account.",
+ instanceUrl: "The base URL of your DBT instance."
+ },
+ SMB: {
+ host: "The hostname or IP address of the Windows server.",
+ port: "The SMB port (defaults to 445).",
+ domain: "The Windows domain name (optional).",
+ username: "The username for SMB authentication.",
+ password: "The password for SMB authentication."
+ },
OPEN_ROUTER: {
apiKey: "The OpenRouter Provisioning API key used to manage API keys."
}
diff --cc backend/src/server/routes/v1/app-connection-routers/app-connection-router.ts
index aae6a5102e,e8faeda5b5..e119cbb768
--- 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
@@@ -197,8 -197,8 +198,9 @@@ const SanitizedAppConnectionSchema = z.
...SanitizedChefConnectionSchema.options,
...SanitizedDNSMadeEasyConnectionSchema.options,
...SanitizedOctopusDeployConnectionSchema.options,
+ ...SanitizedSmbConnectionSchema.options,
...SanitizedSshConnectionSchema.options,
+ ...SanitizedDbtConnectionSchema.options,
...SanitizedOpenRouterConnectionSchema.options
]);
@@@ -249,8 -249,8 +251,9 @@@ const AppConnectionOptionsSchema = z.di
ChefConnectionListItemSchema,
DNSMadeEasyConnectionListItemSchema,
OctopusDeployConnectionListItemSchema,
+ SmbConnectionListItemSchema,
SshConnectionListItemSchema,
+ DbtConnectionListItemSchema,
OpenRouterConnectionListItemSchema
]);
diff --cc backend/src/server/routes/v1/app-connection-routers/index.ts
index ccb4454d99,6683bb8264..a053c8e9bc
--- a/backend/src/server/routes/v1/app-connection-routers/index.ts
+++ b/backend/src/server/routes/v1/app-connection-routers/index.ts
@@@ -100,7 -100,7 +101,8 @@@ export const APP_CONNECTION_REGISTER_RO
[AppConnection.Chef]: registerChefConnectionRouter,
[AppConnection.OctopusDeploy]: registerOctopusDeployConnectionRouter,
[AppConnection.SSH]: registerSshConnectionRouter,
+ [AppConnection.Dbt]: registerDbtConnectionRouter,
+ [AppConnection.SMB]: registerSmbConnectionRouter,
[AppConnection.OpenRouter]: registerOpenRouterConnectionRouter,
[AppConnection.CircleCI]: registerCircleCIConnectionRouter
};
diff --cc backend/src/services/app-connection/app-connection-enums.ts
index f259ab45a1,7d819b959c..6d7c04c9a1
--- a/backend/src/services/app-connection/app-connection-enums.ts
+++ b/backend/src/services/app-connection/app-connection-enums.ts
@@@ -45,7 -45,7 +45,8 @@@ export enum AppConnection
Northflank = "northflank",
OctopusDeploy = "octopus-deploy",
SSH = "ssh",
+ Dbt = "dbt",
+ SMB = "smb",
OpenRouter = "open-router",
CircleCI = "circleci"
}
diff --cc backend/src/services/app-connection/app-connection-fns.ts
index e80f38c253,157621f137..86c23acdba
--- a/backend/src/services/app-connection/app-connection-fns.ts
+++ b/backend/src/services/app-connection/app-connection-fns.ts
@@@ -246,7 -246,7 +247,8 @@@ export const listAppConnectionOptions
getMongoDBConnectionListItem(),
getChefConnectionListItem(),
getSshConnectionListItem(),
+ getDbtConnectionListItem(),
+ getSmbConnectionListItem(),
getOpenRouterConnectionListItem(),
getCircleCIConnectionListItem()
]
@@@ -385,7 -385,7 +387,8 @@@ export const validateAppConnectionCrede
[AppConnection.MongoDB]: validateMongoDBConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.OctopusDeploy]: validateOctopusDeployConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.SSH]: validateSshConnectionCredentials as TAppConnectionCredentialsValidator,
+ [AppConnection.Dbt]: validateDbtConnectionCredentials as TAppConnectionCredentialsValidator,
+ [AppConnection.SMB]: validateSmbConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.OpenRouter]: validateOpenRouterConnectionCredentials as TAppConnectionCredentialsValidator,
[AppConnection.CircleCI]: validateCircleCIConnectionCredentials as TAppConnectionCredentialsValidator
};
@@@ -548,7 -549,7 +553,8 @@@ export const TRANSITION_CONNECTION_CRED
[AppConnection.Chef]: platformManagedCredentialsNotSupported,
[AppConnection.OctopusDeploy]: platformManagedCredentialsNotSupported,
[AppConnection.SSH]: platformManagedCredentialsNotSupported,
+ [AppConnection.Dbt]: platformManagedCredentialsNotSupported,
+ [AppConnection.SMB]: platformManagedCredentialsNotSupported,
[AppConnection.OpenRouter]: platformManagedCredentialsNotSupported,
[AppConnection.CircleCI]: platformManagedCredentialsNotSupported
};
diff --cc backend/src/services/app-connection/app-connection-maps.ts
index 96f2d94730,2381d27872..a7f04260e4
--- a/backend/src/services/app-connection/app-connection-maps.ts
+++ b/backend/src/services/app-connection/app-connection-maps.ts
@@@ -47,7 -47,7 +47,8 @@@ export const APP_CONNECTION_NAME_MAP: R
[AppConnection.Northflank]: "Northflank",
[AppConnection.OctopusDeploy]: "Octopus Deploy",
[AppConnection.SSH]: "SSH",
+ [AppConnection.Dbt]: "DBT",
+ [AppConnection.SMB]: "SMB",
[AppConnection.OpenRouter]: "OpenRouter",
[AppConnection.CircleCI]: "CircleCI"
};
@@@ -99,7 -99,7 +100,8 @@@ export const APP_CONNECTION_PLAN_MAP: R
[AppConnection.Northflank]: AppConnectionPlanType.Regular,
[AppConnection.OctopusDeploy]: AppConnectionPlanType.Regular,
[AppConnection.SSH]: AppConnectionPlanType.Regular,
+ [AppConnection.Dbt]: AppConnectionPlanType.Regular,
+ [AppConnection.SMB]: AppConnectionPlanType.Regular,
[AppConnection.OpenRouter]: AppConnectionPlanType.Regular,
[AppConnection.CircleCI]: AppConnectionPlanType.Regular
};
diff --cc backend/src/services/app-connection/app-connection-service.ts
index 2d621fc23f,47ccedbefc..1a89f9501b
--- a/backend/src/services/app-connection/app-connection-service.ts
+++ b/backend/src/services/app-connection/app-connection-service.ts
@@@ -194,7 -193,7 +195,8 @@@ const VALIDATE_APP_CONNECTION_CREDENTIA
[AppConnection.Chef]: ValidateChefConnectionCredentialsSchema,
[AppConnection.OctopusDeploy]: ValidateOctopusDeployConnectionCredentialsSchema,
[AppConnection.SSH]: ValidateSshConnectionCredentialsSchema,
+ [AppConnection.Dbt]: ValidateDbtConnectionCredentialsSchema,
+ [AppConnection.SMB]: ValidateSmbConnectionCredentialsSchema,
[AppConnection.CircleCI]: ValidateCircleCIConnectionCredentialsSchema
};
diff --cc backend/src/services/app-connection/app-connection-types.ts
index 0b5c2ee317,8bfdba7b07..59e8623855
--- a/backend/src/services/app-connection/app-connection-types.ts
+++ b/backend/src/services/app-connection/app-connection-types.ts
@@@ -335,7 -335,7 +341,8 @@@ export type TAppConnection = { id: stri
| TChefConnection
| TOctopusDeployConnection
| TSshConnection
+ | TDbtConnection
+ | TSmbConnection
| TOpenRouterConnection
| TCircleCIConnection
);
@@@ -391,7 -391,7 +398,8 @@@ export type TAppConnectionInput = { id
| TChefConnectionInput
| TOctopusDeployConnectionInput
| TSshConnectionInput
+ | TDbtConnectionInput
+ | TSmbConnectionInput
| TOpenRouterConnectionInput
| TCircleCIConnectionInput
);
@@@ -465,7 -465,7 +473,8 @@@ export type TAppConnectionConfig
| TChefConnectionConfig
| TOctopusDeployConnectionConfig
| TSshConnectionConfig
+ | TDbtConnectionConfig
+ | TSmbConnectionConfig
| TOpenRouterConnectionConfig
| TCircleCIConnectionConfig;
@@@ -516,7 -516,7 +525,8 @@@ export type TValidateAppConnectionCrede
| TValidateChefConnectionCredentialsSchema
| TValidateOctopusDeployConnectionCredentialsSchema
| TValidateSshConnectionCredentialsSchema
+ | TValidateDbtConnectionCredentialsSchema
+ | TValidateSmbConnectionCredentialsSchema
| TValidateOpenRouterConnectionCredentialsSchema
| TValidateCircleCIConnectionCredentialsSchema;
diff --cc docs/docs.json
index 31bcfdc6b0,c7ab56ee28..4dff21c717
--- a/docs/docs.json
+++ b/docs/docs.json
@@@ -453,9 -453,7 +454,8 @@@
"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/dbt-service-token",
"documentation/platform/secret-rotation/ldap-password",
- "documentation/platform/secret-rotation/unix-linux-local-account",
"documentation/platform/secret-rotation/mongodb-credentials",
"documentation/platform/secret-rotation/mssql-credentials",
"documentation/platform/secret-rotation/mysql-credentials",
diff --cc frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
index 0837c68e61,92d9b3411c..d8c92478f0
--- a/frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
+++ b/frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx
@@@ -134,13 -134,13 +135,20 @@@ const Content = ({ secretRotation }: Co
/>
);
break;
+ case SecretRotation.DbtServiceToken:
+ Component = (
+ <ViewDbtServiceTokenRotationGeneratedCredentials
+ generatedCredentialsResponse={generatedCredentialsResponse}
+ />
+ );
+ break;
+ case SecretRotation.WindowsLocalAccount:
+ Component = (
+ <ViewWindowsLocalAccountRotationGeneratedCredentials
+ generatedCredentialsResponse={generatedCredentialsResponse}
+ />
+ );
+ break;
case SecretRotation.OpenRouterApiKey:
Component = (
<ViewOpenRouterApiKeyRotationGeneratedCredentials
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
index 85893206f0,6671acbba0..00723ae643
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/SecretRotationV2ParametersFields.tsx
@@@ -31,7 -31,7 +32,8 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.DatabricksServicePrincipalSecret]:
DatabricksServicePrincipalSecretRotationParametersFields,
[SecretRotation.UnixLinuxLocalAccount]: UnixLinuxLocalAccountRotationParametersFields,
+ [SecretRotation.DbtServiceToken]: DbtServiceTokenRotationParametersFields,
+ [SecretRotation.WindowsLocalAccount]: WindowsLocalAccountRotationParametersFields,
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationParametersFields
};
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
index e94bb23fb0,7d23f33912..80a6d19c99
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ReviewFields/SecretRotationReviewFields.tsx
@@@ -33,7 -33,7 +34,8 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.DatabricksServicePrincipalSecret]:
DatabricksServicePrincipalSecretRotationReviewFields,
[SecretRotation.UnixLinuxLocalAccount]: UnixLinuxLocalAccountRotationReviewFields,
+ [SecretRotation.DbtServiceToken]: DbtServiceTokenRotationReviewFields,
+ [SecretRotation.WindowsLocalAccount]: WindowsLocalAccountRotationReviewFields,
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationReviewFields
};
diff --cc frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
index 039c52ff27,75f2f9f9d1..e6771188f6
--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2SecretsMappingFields/SecretRotationV2SecretsMappingFields.tsx
@@@ -30,7 -30,7 +31,8 @@@ const COMPONENT_MAP: Record<SecretRotat
[SecretRotation.DatabricksServicePrincipalSecret]:
DatabricksServicePrincipalSecretRotationSecretsMappingFields,
[SecretRotation.UnixLinuxLocalAccount]: UnixLinuxLocalAccountRotationSecretsMappingFields,
+ [SecretRotation.DbtServiceToken]: DbtServiceTokenRotationSecretsMappingFields,
+ [SecretRotation.WindowsLocalAccount]: WindowsLocalAccountRotationSecretsMappingFields,
[SecretRotation.OpenRouterApiKey]: OpenRouterApiKeyRotationSecretsMappingFields
};
diff --cc frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
index f543bb3409,d4a8b80e5b..cd7426f817
--- a/frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
+++ b/frontend/src/components/secret-rotations-v2/forms/schemas/index.ts
@@@ -12,8 -12,8 +12,9 @@@ import { PostgresCredentialsRotationSch
import { SecretRotation } from "@app/hooks/api/secretRotationsV2";
import { LdapPasswordRotationMethod } from "@app/hooks/api/secretRotationsV2/types/ldap-password-rotation";
import { UnixLinuxLocalAccountRotationMethod } from "@app/hooks/api/secretRotationsV2/types/unix-linux-local-account-rotation";
+ import { WindowsLocalAccountRotationMethod } from "@app/hooks/api/secretRotationsV2/types/windows-local-account-rotation";
+import { DbtServiceTokenRotationSchema } from "./dbt-service-token-rotation-schema";
import { OktaClientSecretRotationSchema } from "./okta-client-secret-rotation-schema";
import { OpenRouterApiKeyRotationSchema } from "./open-router-api-key-rotation-schema";
import { OracleDBCredentialsRotationSchema } from "./oracledb-credentials-rotation-schema";
@@@ -37,7 -38,7 +39,8 @@@ export const SecretRotationV2FormSchem
MongoDBCredentialsRotationSchema,
DatabricksServicePrincipalSecretRotationSchema,
UnixLinuxLocalAccountRotationSchema,
+ DbtServiceTokenRotationSchema,
+ WindowsLocalAccountRotationSchema,
OpenRouterApiKeyRotationSchema
]),
z.object({ id: z.string().optional() })
diff --cc frontend/src/helpers/appConnections.ts
index 669a8e74fe,be53ded6c2..e2bfdff31d
--- a/frontend/src/helpers/appConnections.ts
+++ b/frontend/src/helpers/appConnections.ts
@@@ -144,7 -144,7 +145,8 @@@ export const APP_CONNECTION_MAP: Record
[AppConnection.Chef]: { name: "Chef", image: "Chef.png", enterprise: true },
[AppConnection.OctopusDeploy]: { name: "Octopus Deploy", image: "Octopus Deploy.png" },
[AppConnection.SSH]: { name: "SSH", image: "SSH.png" },
+ [AppConnection.Dbt]: { name: "DBT", image: "DBT.png" },
+ [AppConnection.SMB]: { name: "SMB", image: "SMB.png", size: 50 },
[AppConnection.OpenRouter]: { name: "OpenRouter", image: "OpenRouter.png" },
[AppConnection.CircleCI]: { name: "CircleCI", image: "CircleCI.png" }
};
diff --cc frontend/src/helpers/secretRotationsV2.ts
index 3f7dc95ff0,efeb1a1cad..64b2cf77b8
--- a/frontend/src/helpers/secretRotationsV2.ts
+++ b/frontend/src/helpers/secretRotationsV2.ts
@@@ -70,11 -70,11 +70,16 @@@ export const SECRET_ROTATION_MAP: Recor
image: "SSH.png",
size: 50
},
+ [SecretRotation.DbtServiceToken]: {
+ name: "DBT Service Token",
+ image: "DBT.png",
+ size: 50
+ },
+ [SecretRotation.WindowsLocalAccount]: {
+ name: "Windows Local Account",
+ image: "Windows.png",
+ size: 50
+ },
[SecretRotation.OpenRouterApiKey]: {
name: "OpenRouter API Key",
image: "OpenRouter.png",
@@@ -96,7 -96,7 +101,8 @@@ export const SECRET_ROTATION_CONNECTION
[SecretRotation.MongoDBCredentials]: AppConnection.MongoDB,
[SecretRotation.DatabricksServicePrincipalSecret]: AppConnection.Databricks,
[SecretRotation.UnixLinuxLocalAccount]: AppConnection.SSH,
+ [SecretRotation.DbtServiceToken]: AppConnection.Dbt,
+ [SecretRotation.WindowsLocalAccount]: AppConnection.SMB,
[SecretRotation.OpenRouterApiKey]: AppConnection.OpenRouter
};
@@@ -115,7 -115,7 +121,8 @@@ export const IS_ROTATION_DUAL_CREDENTIA
[SecretRotation.MongoDBCredentials]: true,
[SecretRotation.DatabricksServicePrincipalSecret]: true,
[SecretRotation.UnixLinuxLocalAccount]: false,
+ [SecretRotation.DbtServiceToken]: true,
+ [SecretRotation.WindowsLocalAccount]: false,
[SecretRotation.OpenRouterApiKey]: true
};
diff --cc frontend/src/hooks/api/appConnections/enums.ts
index 5adeb4b7ff,aa395dd5f3..25f5083527
--- a/frontend/src/hooks/api/appConnections/enums.ts
+++ b/frontend/src/hooks/api/appConnections/enums.ts
@@@ -45,7 -45,7 +45,8 @@@ export enum AppConnection
Chef = "chef",
OctopusDeploy = "octopus-deploy",
SSH = "ssh",
+ Dbt = "dbt",
+ SMB = "smb",
OpenRouter = "open-router",
CircleCI = "circleci"
}
diff --cc frontend/src/hooks/api/appConnections/types/app-options.ts
index 4cb6b81b59,349c223f33..29cdb1dc17
--- a/frontend/src/hooks/api/appConnections/types/app-options.ts
+++ b/frontend/src/hooks/api/appConnections/types/app-options.ts
@@@ -200,10 -200,10 +200,14 @@@ export type TSshConnectionOption = TApp
app: AppConnection.SSH;
};
+export type TDbtConnectionOption = TAppConnectionOptionBase & {
+ app: AppConnection.Dbt;
+};
+
+ export type TSmbConnectionOption = TAppConnectionOptionBase & {
+ app: AppConnection.SMB;
+ };
+
export type TOpenRouterConnectionOption = TAppConnectionOptionBase & {
app: AppConnection.OpenRouter;
};
@@@ -261,7 -261,7 +265,8 @@@ export type TAppConnectionOption
| TDNSMadeEasyConnectionOption
| TOctopusDeployConnectionOption
| TSshConnectionOption
+ | TDbtConnectionOption;
+ | TSmbConnectionOption;
export type TAppConnectionOptionMap = {
[AppConnection.AWS]: TAwsConnectionOption;
@@@ -311,6 -311,6 +316,7 @@@
[AppConnection.Chef]: TChefConnectionOption;
[AppConnection.OctopusDeploy]: TOctopusDeployConnectionOption;
[AppConnection.SSH]: TSshConnectionOption;
+ [AppConnection.Dbt]: TDbtConnectionOption;
+ [AppConnection.SMB]: TSmbConnectionOption;
[AppConnection.CircleCI]: TCircleCISyncConnectionOption;
};
diff --cc frontend/src/hooks/api/appConnections/types/index.ts
index 5f84bac59e,9f8976d774..1f5bde1c4b
--- a/frontend/src/hooks/api/appConnections/types/index.ts
+++ b/frontend/src/hooks/api/appConnections/types/index.ts
@@@ -146,7 -146,7 +148,8 @@@ export type TAppConnection
| TChefConnection
| TDNSMadeEasyConnection
| TSshConnection
+ | TDbtConnection
+ | TSmbConnection
| TOpenRouterConnection
| TCircleCIConnection;
diff --cc frontend/src/hooks/api/secretRotationsV2/enums.ts
index b69b3b1a36,bfcc731af3..0196528f2a
--- a/frontend/src/hooks/api/secretRotationsV2/enums.ts
+++ b/frontend/src/hooks/api/secretRotationsV2/enums.ts
@@@ -12,7 -12,7 +12,8 @@@ export enum SecretRotation
MongoDBCredentials = "mongodb-credentials",
DatabricksServicePrincipalSecret = "databricks-service-principal-secret",
UnixLinuxLocalAccount = "unix-linux-local-account",
+ DbtServiceToken = "dbt-service-token",
+ WindowsLocalAccount = "windows-local-account",
OpenRouterApiKey = "open-router-api-key"
}
diff --cc frontend/src/hooks/api/secretRotationsV2/types/index.ts
index dc33f28493,80f47f9afe..959150f7a7
--- a/frontend/src/hooks/api/secretRotationsV2/types/index.ts
+++ b/frontend/src/hooks/api/secretRotationsV2/types/index.ts
@@@ -89,7 -89,7 +94,8 @@@ export type TSecretRotationV2 =
| TMongoDBCredentialsRotation
| TDatabricksServicePrincipalSecretRotation
| TUnixLinuxLocalAccountRotation
+ | TDbtServiceTokenRotation
+ | TWindowsLocalAccountRotation
| TOpenRouterApiKeyRotation
) & {
secrets: (SecretV3RawSanitized | null)[];
@@@ -106,7 -106,7 +112,8 @@@ export type TSecretRotationV2Option
| TMongoDBCredentialsRotationOption
| TDatabricksServicePrincipalSecretRotationOption
| TUnixLinuxLocalAccountRotationOption
+ | TDbtServiceTokenRotationOption
+ | TWindowsLocalAccountRotationOption
| TOpenRouterApiKeyRotationOption;
export type TListSecretRotationV2Options = { secretRotationOptions: TSecretRotationV2Option[] };
@@@ -127,7 -127,7 +134,8 @@@ export type TViewSecretRotationGenerate
| TMongoDBCredentialsRotationGeneratedCredentialsResponse
| TDatabricksServicePrincipalSecretRotationGeneratedCredentialsResponse
| TUnixLinuxLocalAccountRotationGeneratedCredentialsResponse
+ | TDbtServiceTokenRotationGeneratedCredentialsResponse
+ | TWindowsLocalAccountRotationGeneratedCredentialsResponse
| TOpenRouterApiKeyRotationGeneratedCredentialsResponse;
export type TCreateSecretRotationV2DTO = DiscriminativePick<
@@@ -185,7 -185,7 +193,8 @@@ export type TSecretRotationOptionMap =
[SecretRotation.MongoDBCredentials]: TMongoDBCredentialsRotationOption;
[SecretRotation.DatabricksServicePrincipalSecret]: TDatabricksServicePrincipalSecretRotationOption;
[SecretRotation.UnixLinuxLocalAccount]: TUnixLinuxLocalAccountRotationOption;
+ [SecretRotation.DbtServiceToken]: TDbtServiceTokenRotationOption;
+ [SecretRotation.WindowsLocalAccount]: TWindowsLocalAccountRotationOption;
[SecretRotation.OpenRouterApiKey]: TOpenRouterApiKeyRotationOption;
};
@@@ -203,7 -203,7 +212,8 @@@ export type TSecretRotationGeneratedCre
[SecretRotation.MongoDBCredentials]: TMongoDBCredentialsRotationGeneratedCredentialsResponse;
[SecretRotation.DatabricksServicePrincipalSecret]: TDatabricksServicePrincipalSecretRotationGeneratedCredentialsResponse;
[SecretRotation.UnixLinuxLocalAccount]: TUnixLinuxLocalAccountRotationGeneratedCredentialsResponse;
+ [SecretRotation.DbtServiceToken]: TDbtServiceTokenRotationGeneratedCredentialsResponse;
+ [SecretRotation.WindowsLocalAccount]: TWindowsLocalAccountRotationGeneratedCredentialsResponse;
[SecretRotation.OpenRouterApiKey]: TOpenRouterApiKeyRotationGeneratedCredentialsResponse;
};
diff --cc frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
index 425ea20348,b526eafb71..ba3201bcdc
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AppConnectionForm.tsx
@@@ -185,8 -185,8 +186,10 @@@ const CreateForm = ({ app, onComplete,
return <OctopusDeployConnectionForm onSubmit={onSubmit} />;
case AppConnection.SSH:
return <SshConnectionForm onSubmit={onSubmit} />;
+ case AppConnection.Dbt:
+ return <DbtConnectionForm onSubmit={onSubmit} />;
+ case AppConnection.SMB:
+ return <SmbConnectionForm onSubmit={onSubmit} />;
case AppConnection.OpenRouter:
return <OpenRouterConnectionForm onSubmit={onSubmit} />;
case AppConnection.CircleCI:
@@@ -355,8 -355,8 +358,10 @@@ const UpdateForm = ({ appConnection, on
return <OctopusDeployConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.SSH:
return <SshConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
+ case AppConnection.Dbt:
+ return <DbtConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
+ case AppConnection.SMB:
+ return <SmbConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.OpenRouter:
return <OpenRouterConnectionForm onSubmit={onSubmit} appConnection={appConnection} />;
case AppConnection.CircleCI: