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

    Interface SymmetricEncryptRequest

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

    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

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

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.kms.v1.SymmetricEncryptRequest 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.SymmetricEncryptRequest"

    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.

    keyId: string

    ID of the symmetric KMS key to use for encryption.

    plaintext: Uint8Array

    Plaintext to be encrypted. Should be encoded with base64.