O'Reilly logo

Cloud Security Automation by Prashant Priyam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How does AWS work in IAM?

Now we will look at the anatomy of IAM and see how it works. In AWS, IAM consists of six elements:

  • Principal
  • Request
  • Authentication 
  • Authorization 
  • Actions
  • Resources

Let's understand what all these six elements are:

  • Principal: Principal is an entity that performs some action on AWS resources. It is basically an Amazon Resource Name (ARN) such as Principal": { "AWS": "arn:aws:iam:: 202785070987:root" }. It means that all the users, roles, groups, and federated applications are principals, as they all are responsible for performing an action on AWS resources.
  • Request: When principal wants to perform an action, it actually sends a request to AWS. Here, a request consists of the following:
    • Who is going to perform ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required