Crypto KMS
    Preparing search index...

    Interface KmsEncryptResult

    Result of a KMS encryption operation.

    const result: KmsEncryptResult = {
    ciphertext: "YmFzZTY0LWVuY29kZWQ=",
    keyId: "key-abc-123",
    context: { purpose: "user-data" },
    };
    interface KmsEncryptResult {
        ciphertext: string;
        keyId: string;
        context?: Record<string, string>;
    }
    Index
    ciphertext: string

    Base64-encoded ciphertext.

    keyId: string

    Key ID used for encryption.

    context?: Record<string, string>

    Provider-specific encryption context.