GetPublicKey
Source:
src/AWS/KMS/GetPublicKey.ts
Runtime binding for kms:GetPublicKey.
Bind this operation to an asymmetric KMS Key (or the alias/...
name of a pre-existing key) to get a callable that automatically injects
the KeyId. Returns the DER-encoded public key so callers can verify
signatures or encrypt locally without a KMS round-trip per operation.
Signing
Section titled “Signing”const getPublicKey = yield* AWS.KMS.GetPublicKey(signingKey);
const { PublicKey, SigningAlgorithms } = yield* getPublicKey({});// PublicKey is the DER-encoded SubjectPublicKeyInfo