Udemy Lecture 2 Flashcards
Whats IAM? What is it a global or regional service?
stand for identity & access management (Its a global service not regional)
In _____ you create your users & assign them to groups
IAM
_________ is created by default (after that dont use it ore share it)
Root account
_______ are people within your organization & can be grouped (1 user represents 1 person) and you can create groups out of those users (think of it like a teacher grouping you for an assignment with your classmates)
users
Groups only contain _____ not other groups
users
Some users don’t have to belong to a group & other users can belong to ________ groups
multiple
Users or groups can be assigned JSON documents called ________
IAM policies
The _______ define the permission of the user
policies
In AWS you apply the least ___________- which is you dont give more permissions than a user needs
privilege principle
The user gains the permission of the _______ its in
group
You create users because on your AWS account you just have you the ________, so you create users (admin user) to allow you to use your account more safely
root user
You attach a policy at the __________ so that every user in the group gets the same root user policy
group level
If a user isnt in a group then you make an __________
inline policy
What is the structure of IAM Policy?
- Version (policy language version, which is usually always include “2012-10-17”
- ID (an identifier for the policy (optional))
- Statements (one or more individual statements (required)
What do statements consists of?
- SID (an identifier for the statement (optional)
- Effect (whether the statement allows or denies access (say allow if allow & deny if it denies)
- Principal (account/user/role to which the policy will be applied to)
- Action (list of actions this policy allows or denies)
-Resources (list of resources to which the actions applied to)
-Condition (conditions for when this policy is in effect (optional))