SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

secret.decrypt

BETA

Short name: decrypt

Version: 1.0.0

Admin-only: decrypts a sensitive-field envelope under a specified owner KEK. Prefer secret.reveal for application use.

Back to primitive library

Inputs

KeyTypeRequiredDescription
envelopeobjecttrueSensitive-field envelope to decrypt.
ownerIdstringtrueOwner whose KEK wraps this envelope. Must match the kid encoded in the envelope.

Outputs

KeyTypeRequiredDescription
valueanyfalseDecrypted JSON value.