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

    Interface GenerateDataKeyRequest

    Represents the nebius.kms.v1.GenerateDataKeyRequest protobuf message.

    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

      Represents the nebius.kms.v1.GenerateDataKeyRequest protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.kms.v1.GenerateDataKeyRequest protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.kms.v1.GenerateDataKeyRequest"

    Contains the fully qualified protobuf type name.

    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.