Skip to content

Instantly share code, notes, and snippets.

@lsegal
Created December 27, 2013 21:53
Show Gist options
  • Save lsegal/8153175 to your computer and use it in GitHub Desktop.
Save lsegal/8153175 to your computer and use it in GitHub Desktop.
$ ROLE=$(curl http://169.254.169.254/latest/meta-data/iam/security-credentials/)
$ curl http://169.254.169.254/latest/meta-data/iam/security-credentials/$ROLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment