AWS IAM role
(Redirected from AWS Roles)
Jump to navigation
Jump to search
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
Contents
Commands[edit]
aws iam list-rolesaws iam create-roleaws iam put-role-policyaws iam get-roleaws iam create-service-linked-roleaws iam update-role
Errors[edit]
STS[edit]
Related[edit]
- AWS service roles: https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html
- IAM roles for EC2 instances
- AWS Policies: AWS trust policy
Iam:GetRolerds-monitoring-role- AWS IAM federation
- Switch role to acounts:
OrganizationAccountAccessRole KarpenterNode- IAM Roles for Service Accounts (IRSA)
- ecsInstanceRole
- AWS policy:
AdministratorAccess - GCP roles
eks.amazonaws.com/role-arn: arn:aws:iam::012345678912:role/AmazonEKS_EBS_CSI_DriverRoleInherited from node- Using service-linked roles for Amazon ECS
- Trusted entities
- AWS IAM Access Analyzer
- AWS managed policies: AWS managed policies for Job functions
- Terraform IAM:
aws_iam_role arn:aws:iam::aws:policy/service-role/
Activities[edit]
- Create a role for SAML federation https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html
- Read https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html
- Read Creating a role to delegate permissions to an IAM user: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html
- Understand the difference between service role and service-linked role (doc)
- How to use trust policies with IAM roles
- Best practices for managing AWS access keys
See also[edit]
Advertising: