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.
Parameters
Section titled “Parameters”ciphertext
Section titled “ciphertext”string
Returns
Section titled “Returns”string