aws-kms-data-key-pair-private-output

GenerateDataKeyPair returns a plaintext private key unless the WithoutPlaintext variant is used.

awscritical service: aws:kms emits ExposesCredential

Where it sits

locationGenerateDataKeyPair.PrivateKeyPlaintext
location kindoutput_value
data kindsprivate_key encryption_key_material credential
emits edgeExposesCredential
serviceKMS (aws:kms)

Collection recipe

access modecreation_response_only
operationGenerateDataKeyPair
response pathPrivateKeyPlaintext
encodingbinary
params{"KeyId": "\u003ckey-id\u003e", "KeyPairSpec": "\u003cspec\u003e"}

Required permissions

kms:GenerateDataKeyPair

References

move · open · esc close