EC2 Instance Profiles and Roles Return to table of contents curl http://169.254.169.254/latest/meta-data/iam/security-credentials/ROLENAME