IAM Flashcards
IAM
Identity and Access Managment
What the IAM contain?
👉🏼Root
👉🏼Users
👉🏼Groups
*User don’t have to belong to a group and user can belong to multiple groups
How can i assign permissions?
👉🏼 JSON file - called policies
IAM policies structureWhat is “version”?
Version: policy language version, always include “2012-10-17”
IAM policies structureWhat is “ID”?
ID: an identifier for policy (optional)
IAM policies structureWhat is “Statement”?
One or more individual statement (required)
IAM policies structureExplain what does statement contain?1. Sid2. Effect3. Principal4. Action5. Resource6. Condition
• Sid: an identifier for the statement (optional) • Effect: whether the statement allows or denies access (Allow, Deny) • Principal: account/user/role to which this policy applied to • Action: list of actions this policy allows or denies • Resource: list of resources to which the actions applied to • Condition: conditions for when this policy is in effect (optional)
MFA
Multi Factor Authentication
CLI
Command Line Interface
SDKWhat kind of protection?
Software Developer KitFor code - protect by access key 🔐
From where to generate an access key?Who mange them?Two parts of them?
Generated through the AWS consoleUser management their own access keyTwo parts:1. Access key ID = username 🧑💻2. Secret access key = password🤫
What can i do with the AWD CLI?
👉🏼Tool that enables you to interact with AWS service using commands in your command line shell
👉🏼 Direct access to the public APIs of AWS services
👉🏼Use to develop scripts to manage your resources
👉🏼Open source
👉🏼 Alternative to using AWS Management console
SDK
Software Development Kit
Two IAM security tools to log your system:📝 ⚙️
- IAM Credentials Report (account-level): Lists all your account’s users and the status of their various credentials
- IAM Access Advisor (user-level):
👉️ Shows the service permissions granted to a user and when those services were last accessed.
👉️ You can use this information to revise your policies.
What is ROLES in AWS?
Permissions that assign to AWS services with IAM ROLE For EC2 instance or AWS service