Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

How to create key pair in aws using cloudformation?

1 Answer(s) Available
Answer # 1 #

To create a new key pair, omit the PublicKeyMaterial property from the template. When Amazon EC2 creates a new key pair, the private key is saved to an AWS Systems Manager Parameter Store. The name of the Systems Manager parameter follows the format /ec2/keypair/{key_pair_id}.

[0]
Edit
Query
Report
Yantisha A.
LASER BEAM TRIM OPERATOR