AWS Security (IAM) Flashcards
What are the 4 steps to secure your AWS root account?
- Enable multi-factor authentication on the root account.
- Create an admin group for your administrators, and assign the appropriate permissions to this group.
- Create user accounts for your administrators.
- Add your users to the admin group.
How do we control permissions using IAM?
We assign permissions using policy documents, which are made up of JSON (JavaScript Object Notation).
Permissions are stored using what format?
JSON
A policy document consists of what sections?
- Version
2. Statement
What kind of IAM Policy Documents are there?
Groups, Users & Roles
Does IAM require the region to be selected?
No.
What are the types of IAM Policies?
AWS Managed & Customer Managed
In the policy document, typically what are the 3 sections under Statement?
Effect, Action and Resource
What are the 3 building blocks for Identity & Access Management?
- Users - a physical person
- Groups - functions, such as administrators, developers, etc. Groups contain users.
- Roles - internal usage within AWS
It is best practice for users to ______ permissions from groups.
inherit
What’s the best practice in regards to users and people?
1 user = 1 person.
Always work on the principle that one user equals one physical person. Never share user accounts across multiple people.
Should you share user accounts across multiple people?
No. It is not considered best practice.
What is the definition of “The Principal of Least Priviledge”?
Only assign a user the minimum amount of privileges they need to do their job.
Where do you set password policy requirements?
Under “Account Settings” in IAM.
When you create a user, what kind of permissions are they automatically granted?
A new user is created with NO PERMISSIONS by default.