Skip to content

Instantly share code, notes, and snippets.

@ShubhamRasal
Last active October 17, 2020 08:50
Show Gist options
  • Save ShubhamRasal/de86575010d1a676e9ff40bc0bea659b to your computer and use it in GitHub Desktop.
Save ShubhamRasal/de86575010d1a676e9ff40bc0bea659b to your computer and use it in GitHub Desktop.
Create Key Pair
aws ec2 create-key-pair --key-name MyKeyPair --query 'KeyMaterial' --output text | out-file -encoding ascii -filepath MyKeyPair.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment