iam & cli Flashcards
What does IAM stand for?
Identity and Access Management
is IAM a global or region service?
global
what is the root account?
created by default, shouldn’t be used or shared
what are users in IAM?
are people within your organization, and can be grouped
what do groups in IAM contain?
only contain users, not other groups
T/F: Users must belong to groups
False
T/F: Users can belong to multiple groups
True
For IAM Permissions, what are the policies?
JSON documents that define permissions for users or groups
Who can be assigned the policies?
users or groups
what are inline policies?
policies assigned to a single user
what is the least privilege principle?
don’t give more permissions than a user/group
needs
What do IAM policy structure consist of ?
Version, Id, Statement
What is the Version in IAM policy structure?
policy language version, always include “2012-10-17”
What is the Id in IAM policy structure?
an identifier for the policy (optional)
What is the Statement in IAM policy structure?
one or more individual statements (required)
What do IAM policy structure Statements consist of ?
Sid, Effect, Principal, Action, Resource, Condition
what is the Sid for statements?
an identifier for the statement (optional)
What is the Effect in the statement?
whether the statement allows or denies access
Allow, Deny
What is the Principal in the statement?
account/user/role to which this policy applied to
What is the Action in the statement?
list of actions this policy allows or denies
What is the Resource in the statement?
list of resources to which the actions applied to
What is the Condition in the statement?
conditions for when this policy is in effect
optional
strong passwords result in
higher security
what can you set up in password policy?
Set a minimum password length • Require specific character types: • including uppercase letters • lowercase letters • numbers • non-alphanumeric characters • Allow all IAM users to change their own passwords • Require users to change their password after some time (password expiration) • Prevent password re-use
What is MFA in aws iam?
password you know and device you know