IAM - Identity Access Management Flashcards
AWS IAM (Identity Access Management)
Is a web service that helps you securely control access to AWS resources. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources.
IAM - Password Policy
-Strong passwords
-Setup a password policy
-Allow all IAM users to change their own passwords
-Password expiration
-Prevent password re-use
Multi Factor Authentication (MFA)
It’s a second authentication factor in addition to user name and password sign-in credentials.
MFA devices options in AWS
-Virtual MFA Device (Apps)
-Universal 2nd Factor (U2F) Security Key
-Hardware Key Fob MFA Device
-Hardware Key Fob MFA Device for GovCloud
How can users access AWS ?
-AWS Management Console - Protected by password + MFA
-AWS CLI - Protected by access keys
-AWS SDK- for code: Protected by access keys
What’s the AWS CLI?
A tool that enables you to interact with AWS services using commands in your command-line shell
What’s the AWS SDK?
Enables you to access and manage AWS services programmatically
-Embedded within your application
IAM Roles
An IAM role is an IAM identity that you can create in your account that has specific permissions.
You can use roles to delegate access to users, applications, or services that don’t normally have access to your AWS resources.
IAM Users
Is an entity that you create in AWS to represent the person or application that uses it to interact with AWS.
IAM Security Tools
-IAM Credentials Report (account-level) = a report that lists all your account’s users and the status of their various credentials.
-IAM Access Advisor (user-level) = Access advisor shows the service permissions granted to a user and when those services were last accessed. You can use this information to revise your policies
IAM Best Practices
-Don’t use the root account except for AWS account setup
-Create a strong password policy
-Use MFA /// - Use access keys for CLI-SDK
-Create roles for giving permissions for AWS services
-Audit permissions with the IAM Credentials Report
IAM Section - Summary
-Users / Groups / Roles
-Policies (JSON document)
-Security (MFA)
-AWS CLI / AWS SDK
-Access keys
-Audit with IAM CR & IAM AA
AWS CloudShell
Is a browser-based shell that makes it easy to securely manage, explore, and interact with your AWS resources.