@nebius/js-sdk - v0.2.22
    Preparing search index...

    Interface SymmetricEncryptRequest

    interface SymmetricEncryptRequest {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.kms.v1.SymmetricEncryptRequest";
        aadContext: Uint8Array;
        keyId: string;
        plaintext: Uint8Array;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.kms.v1.SymmetricEncryptRequest"
    aadContext: Uint8Array

    Additional authenticated data (AAD context), optional. If specified, this data will be required for decryption with the [SymmetricDecryptRequest]. Should be encoded with base64.

    keyId: string

    ID of the symmetric KMS key to use for encryption.

    plaintext: Uint8Array

    Plaintext to be encrypted. Should be encoded with base64.