aws-ec2-key-pair-private-key-create-output
EC2 returns a newly generated private key only in the CreateKeyPair response.
Where it sits
| location | CreateKeyPair.KeyMaterial |
|---|---|
| location kind | output_value |
| data kinds | private_key credential |
| emits edge | ExposesCredential |
| service | EC2 (aws:ec2) |
Collection recipe
| access mode | creation_response_only |
|---|---|
| operation | CreateKeyPair |
| response path | KeyMaterial |
| encoding | string |
| params | {"KeyName": "\u003ckey-name\u003e"} |
Required permissions
ec2:CreateKeyPair