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
Update dbt-service-token-rotation-fns.ts
Daniel Hougaard8eec6b0e0a1d
diff --git a/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts b/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.tsindex f3bdff752e..eabd49c2bb 100644--- a/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts+++ b/backend/src/ee/services/secret-rotation-v2/dbt-service-token/dbt-service-token-rotation-fns.ts@@ -121,14 +121,14 @@ export const dbtServiceTokenRotationFactory: TRotationFactory<};/**- * Revokes a client secret from the Okta app using its secretId.- * First checks if the credential exists before attempting revocation.+ * Revokes a service token from the DBT account using its tokenId.+ * First checks if the service token exists before attempting revocation.*/const revokeCredential = async (tokenId: number) => {// Check if credential exists before attempting revocationconst exists = await tokenExists(tokenId);if (!exists) {- return; // Credential doesn't exist, nothing to revoke+ return; // Service token doesn't exist, nothing to revoke}const instanceUrl = await getDbtUrl(connection);