Skip to content

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

fix(pam): internal metadata

x03220580cc7194a6d6
diff --git a/backend/src/ee/services/pam-account/pam-account-fns.ts b/backend/src/ee/services/pam-account/pam-account-fns.ts
index a0c65de548..2497e6b7a5 100644
--- a/backend/src/ee/services/pam-account/pam-account-fns.ts
+++ b/backend/src/ee/services/pam-account/pam-account-fns.ts
@@ -101,6 +101,7 @@ export const decryptAccount = async <
return {
...rest,
credentials,
+ internalMetadata: internalMetadata as TPamResourceInternalMetadata | undefined,
credentialsConfigured: hasConfiguredCredentials(credentials),
lastRotationMessage: encryptedLastRotationMessage
? await decryptAccountMessage({