Skip to content

decryptCredential

decryptCredential(input, ciphertext): string

Defined in: packages/core/src/utils/encrypt.ts:92

Decrypt a stored credential, mapping any key mismatch or corruption to UndecryptableCredentialError so callers can fail loudly with a rotation hint. A missing secret keeps its own configuration error.

SecretInput

string

string