interface DataKey {
    algorithm: DataKeyAlgorithmSymmetricEncryption;
    ciphertext: string;
    createdAt?: Date;
    keyId: string;
    plaintext?: string;
}

Properties

Symmetric encryption algorithm of the data encryption key.

ciphertext: string

Your data encryption key's ciphertext can be stored safely. It can only be decrypted through the keys you create in Key Manager, using the relevant key ID.

createdAt?: Date

Data encryption key creation date.

keyId: string

ID of the data encryption key.

plaintext?: string

(Optional) Your data encryption key's plaintext allows you to use the key immediately upon creation. It must neither be stored or shared.