interface DecryptResponse {
    ciphertext?: string;
    keyId: string;
    plaintext: string;
}

Properties

ciphertext?: string

If the data was already encrypted with the latest key rotation, no output will be returned in the response object.

keyId: string

ID of the key used for decryption.

plaintext: string

Key's decrypted data.