Hacker News new | ask | show | jobs
by rectalogic 2510 days ago
If it's an instance role and you are on the EC2 instance, then "curl http://169.254.169.254/latest/meta-data/iam/security-credent... will return the credentials.