Skip to content

Instantly share code, notes, and snippets.

@maczniak
Last active April 15, 2016 04:39
Show Gist options
  • Save maczniak/90111d50f54dec79a2f2 to your computer and use it in GitHub Desktop.
Save maczniak/90111d50f54dec79a2f2 to your computer and use it in GitHub Desktop.
AWS tips

permission for user password change

{
  "Effect": "Allow",
  "Action": ["iam:ChangePassword"],
  "Resource": ["__User_ARN_here__"]
},
{
  "Effect": "Allow",
  "Action": ["iam:GetAccountPasswordPolicy"],
  "Resource": ["*"]
}

source: http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html

convert PEM private to OpenSSH public format

ssh-keygen -y -f foo.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment