GenerateDataKeyRequest: {
    algorithm?: DataKeyAlgorithmSymmetricEncryption;
    keyId: string;
    region?: Region;
    withoutPlaintext: boolean;
}

Type declaration

  • Optionalalgorithm?: DataKeyAlgorithmSymmetricEncryption

    See the DataKey.Algorithm.SymmetricEncryption enum for a description of values.

  • keyId: string

    ID of the key.

  • Optionalregion?: Region

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

  • withoutPlaintext: boolean

    Default value is false, meaning that the plaintext is returned. Set it to true if you do not wish the plaintext to be returned in the response object.