Reader small image

You're reading from  AWS Certified Cloud Practitioner Exam Guide

Product typeBook
Published inJan 2022
PublisherPackt
ISBN-139781801075930
Edition1st Edition
Tools
Concepts
Right arrow
Author (1)
Rajesh Daswani
Rajesh Daswani
author image
Rajesh Daswani

Rajesh Daswani is a senior solutions architect, AWS course content creator, and corporate trainer with over 20 years' experience in core IT infrastructure services and cloud computing. He has delivered corporate training programs and online training for several clients across the UK, USA, and India and published courses for Packt Publishing. Rajesh now delivers courses for the IaaS Academy, an online training provider that delivers on-demand cloud computing training and practice exam simulators to help students and IT professionals ace IT certification exams. You will also find extensive blog articles and exam tips on the IaaS Academy website to help you with your study and revision.
Read more about Rajesh Daswani

Right arrow

Defining permissions with IAM policies

IAM policies are objects attached to a given IAM identity, such as an IAM user, groups of IAM users, or an IAM role. These policies define what the identity can or cannot do within the AWS account and are written as JSON documents. In the following diagram, user Bob can access and read the content of an S3 bucket. The policy is attached to the group that Bob is a member of and therefore inherits the ability from the group.

When a principal (IAM user or IAM role) tries to access an AWS service, AWS will evaluate the policy document attached to it and determine what action the principal can or cannot perform:

Figure 4.6 – Policy document attached to the developers group, granting Bob read access to the Marketing Documents bucket

IAM policies enable you to follow the principle of least privileges, which means that identities can be configured to only have access to services and configuration options necessary...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
AWS Certified Cloud Practitioner Exam Guide
Published in: Jan 2022Publisher: PacktISBN-13: 9781801075930

Author (1)

author image
Rajesh Daswani

Rajesh Daswani is a senior solutions architect, AWS course content creator, and corporate trainer with over 20 years' experience in core IT infrastructure services and cloud computing. He has delivered corporate training programs and online training for several clients across the UK, USA, and India and published courses for Packt Publishing. Rajesh now delivers courses for the IaaS Academy, an online training provider that delivers on-demand cloud computing training and practice exam simulators to help students and IT professionals ace IT certification exams. You will also find extensive blog articles and exam tips on the IaaS Academy website to help you with your study and revision.
Read more about Rajesh Daswani