Posts AWS CLI, SDK IAM Roles & Policies
Post
Cancel

AWS CLI, SDK IAM Roles & Policies

AWS CLI

EC2 Instance Metadata

It allows AWS EC2 instances to “learn about themselves” without using an IAM Role for that purpose

1
curl http://169.254.169.254/latest/meta-data/

you can retrieve the IAM Role name from the metadatam but you cannot retrive the IAM Policy

Metadata = Info about the EC2 Instance

This post is licensed under CC BY 4.0 by the author.