Difference between revisions of "Aws iam create-role"
Jump to navigation
Jump to search
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | https:// | + | * <code>[[aws iam]] create-role</code> ([https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/create-role.html doc]) |
+ | * <code>[[aws iam]] create-role --role-name Test-Role --assume-role-[[policy]]-document file://Test-Role-Trust-Policy[[.json]]</code> | ||
− | + | ||
+ | [[Configuring a Kubernetes service account to assume an IAM role]]: | ||
+ | aws iam create-role --role-name my-role --assume-role-policy-document file://[[trust-relationship.json]] --description "my-role-description" | ||
Line 8: | Line 11: | ||
* [[Terraform resource]]: <code>[[aws_iam_role]]</code> | * [[Terraform resource]]: <code>[[aws_iam_role]]</code> | ||
* [[AWS IAM Access Analyzer]] (2019) | * [[AWS IAM Access Analyzer]] (2019) | ||
+ | * [[Amazon Cloudformation EKS cluster role]] | ||
+ | * <code>[[AWS::IAM::Role]]</code> | ||
+ | * <code>[[iam:CreateRole]]</code> | ||
+ | * <code>[[aws iam create-service-linked-role]]</code> | ||
+ | * [[Useradd]] | ||
+ | * [[AWS managed policies]] | ||
+ | * <code>[[aws iam create-user]]</code> | ||
== See also == | == See also == |
Latest revision as of 14:50, 31 October 2023
aws iam create-role
(doc)aws iam create-role --role-name Test-Role --assume-role-policy-document file://Test-Role-Trust-Policy.json
Configuring a Kubernetes service account to assume an IAM role:
aws iam create-role --role-name my-role --assume-role-policy-document file://trust-relationship.json --description "my-role-description"
Related terms[edit]
- Terraform resource:
aws_iam_role
- AWS IAM Access Analyzer (2019)
- Amazon Cloudformation EKS cluster role
AWS::IAM::Role
iam:CreateRole
aws iam create-service-linked-role
- Useradd
- AWS managed policies
aws iam create-user
See also[edit]
- AWS IAM role, AWS service roles, AWS IAM Roles Anywhere: [
list-roles | get-role | create-role | put-role-policy | create-service-linked-role | attach-role-policy | update-role | add-role-to-instance-profile ], aws ec2 describe-iam-instance-profile-associations ]
, IAM roles for EC2 instances,AWSServiceRoleForAutoScaling
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
Advertising: