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

    Interface GenerateDataKeyRequest

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

    Indexable

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

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.kms.v1.GenerateDataKeyRequest"
    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.

    dataKeySpec: SymmetricAlgorithm

    Encryption algorithm and key length for the generated data key.

    keyId: string

    ID of the symmetric KMS key that the generated data key should be encrypted with.

    skipPlaintext: boolean

    If true, the method won't return the data key as plaintext. Default value is false.