npm
to add @infisical/sdk
to your project.
getSecret()
fetches and returns a shared secret.
key
(string): A base64-encoded, 256-bit symmetric key, that can be used for encryption/decryption purposes.
tag
(string): A base64-encoded, 128-bit authentication tag.
iv
(string): A base64-encoded, 96-bit initialization vector.
ciphertext
(string): A base64-encoded, encrypted ciphertext.
plaintext
(string): The decrypted plaintext.