Cloud Security
Published in

Cloud Security

Automated Creation of an SSH Key for an AWS User

ACM.78 Automated creation of an AWS EC2 SSH key stored in AWS Parameter Store

This implementation has some security problems that we will fix in the next few posts. I thought it was going to be simple...but it wasn't.
ec2 create-key-pair
ec2 wait key-pair-exists
aws ssm put-parameter
  1. Change networking
  2. Deploy SSH keys
The moral of the story: Be careful with * in IAM Policies!
Medium: Teri Radichel or Email List: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests services via LinkedIn: Teri Radichel or IANS Research



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Teri Radichel

Cloud Security Training and Penetration Testing | GSE, GSEC, GCIH, GCIA, GCPM, GCCC, GREM, GPEN, GXPN | AWS Hero | Infragard | IANS Faculty |