EncryptRequest: {
    associatedData?: string;
    keyId: string;
    plaintext: string;
    region?: Region;
}

Type declaration

  • OptionalassociatedData?: string

    Additional data which will not be encrypted, but authenticated and appended to the encrypted payload.

  • keyId: string

    ID of the key to encrypt.

  • plaintext: string

    Data size must be between 1 and 65535 bytes.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.