Last active
July 5, 2017 22:01
-
-
Save robertsosinski/f419ed3f59da863e4acbce86704e5cce to your computer and use it in GitHub Desktop.
Use AWS IAM for ssh key management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check AWS IAM for authorized keys | |
AuthorizedKeysCommand /usr/local/bin/aws-iam-authorized-keys | |
AuthorizedKeysCommandUser root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"iam:GetSSHPublicKey", | |
"iam:ListSSHPublicKeys" | |
], | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment