Difference between revisions of "Aws iam create-role"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[aws iam]] create-role</code> | * <code>[[aws iam]] create-role</code> | ||
+ | |||
+ | [[aws iam]] create-role --role-name Test-Role --assume-role-[[policy]]-document file://Test-Role-Trust-Policy.json | ||
Revision as of 13:43, 5 November 2021
https://docs.aws.amazon.com/cli/latest/reference/iam/create-role.html
aws iam create-role
aws iam create-role --role-name Test-Role --assume-role-policy-document file://Test-Role-Trust-Policy.json
Related terms
See also
- 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: