Skip to content

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

remove rotation restriction

Andrey0e4584876530
diff --git a/backend/src/ee/services/pam-account-rotation/pam-account-rotation-service.ts b/backend/src/ee/services/pam-account-rotation/pam-account-rotation-service.ts
index 835ae1a84a..7c75547e31 100644
--- a/backend/src/ee/services/pam-account-rotation/pam-account-rotation-service.ts
+++ b/backend/src/ee/services/pam-account-rotation/pam-account-rotation-service.ts
@@ -905,12 +905,6 @@ export const pamAccountRotationServiceFactory = (deps: TPamAccountRotationServic
account.accountType,
rotator.encryptedCredentials
);
- if (!rotatorCredentials.password) {
- throw new BadRequestError({
- message:
- "Rotation account authenticates without a password, so it cannot perform rotations. Choose an account that uses password authentication."
- });
- }
if (
toBareAccountName(rotatorCredentials.username).toLowerCase() ===
toBareAccountName(targetCredentials.username).toLowerCase()