IAM & AWS CLI Flashcards
(33 cards)
IAM =
Identity And Access Management - Global service
Do users have to belong to a group?
No. But it’s not best practice
Should you use the root account that is created by default?
No.
Users are people within your organization, and can be grouped. True or False.
True
Groups can only contain users, not other groups?
True
Users or Groups are assigned JSON documents called?
Policies
What do policies do?
They define the permissions of the users
What is the “least privilege principle”?
don’t give more permissions than a user needs
How does a User inherit a policy?
Attach a policy to that user’s group.
Who can an inline policy?
Individual users.
Features:
- set a minimum password length
- Require specific character types:
- including uppercase letters
- lowercase letters, number, non-alphanumeric characters
- Allow IAM users to change their own passwords
- Require users to change their password after some time (password expiration)
- Prevent password re-user
Password policies that can be set.
Three ways to access AWS?
- AWS Management Console (protected by password + MFA)
- AWS Command Line Interface (CLI): protected by access keys
- AWS Software Developer Kit (SDK) - for code: protected by access keys
How are access keys generated?
Through the AWS Console
How are keys managed?
By user
What is AWS CLI?
A tool that allows you to interact with the AWS services using commands in your command-line shell.
How can you get direct access to the public APIs of your AWS services
AWS CLI
Where can you develop scripts to manage your resources?
AWS CLI
What an alternative to using AWS CLI?
AWS Management Console
AWS SDK =
AWS Software Development Kit
What is the purpose of the AWS SDK?
Enables you to access and manage your AWS services programmatically
What is embedded within your application?
AWS SDK
What is AWS CloudShell?
Alternative to using the terminal
What are IAM Roles?
Similar to IAM Users but specifically designed for AWS services to perform actions on your account, not for direct use by individuals.
What is created to assign necessary permissions to AWS services, enabling them to act on your behalf within your AWS account.
IAM Roles