GetPublicKeyResponse
import type { GetPublicKeyResponse } from "https://aws-api.deno.dev/v0.3/services/kms.ts?docs=full";
§Properties
Instead, use the KeySpec
field in the GetPublicKey
response.
The KeySpec
and CustomerMasterKeySpec
fields have the same value.
We recommend that you use the KeySpec
field in your code.
However, to avoid breaking changes, KMS will support both fields.
The encryption algorithms that KMS supports for this key.
This information is critical. If a public key encrypts data outside of KMS by using an unsupported encryption algorithm, the ciphertext cannot be decrypted.
This field appears in the response only when the KeyUsage
of the public key is ENCRYPT_DECRYPT
.
The permitted use of the public key.
Valid values are ENCRYPT_DECRYPT
or SIGN_VERIFY
.
This information is critical.
If a public key with SIGN_VERIFY
key usage encrypts data outside of KMS, the ciphertext cannot be decrypted.
The signing algorithms that KMS supports for this key.
This field appears in the response only when the KeyUsage
of the public key is SIGN_VERIFY
.