Difference between revisions of "Aws iam list-account-aliases"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* <code>[[aws list all]]</code> | * <code>[[aws list all]]</code> | ||
* [[Account-id]] | * [[Account-id]] | ||
− | * [[AWS Organizations]] | + | * [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> |
− | |||
== Activities == | == Activities == |
Revision as of 19:12, 12 April 2022
https://docs.aws.amazon.com/cli/latest/reference/iam/list-account-aliases.html
aws iam list-account-aliases
aws iam list-account-aliases --output text
aws iam list-account-aliases "AccountAliases": [ "mycompany" ]
An error occurred (AccessDenied) when calling the ListAccountAliases operation: User: arn:aws:iam::0123456789:user/YOUR_USER is not authorized to perform: iam:ListAccountAliases on resource: *
To login: https://account-ID-or-alias.signin.aws.amazon.com/console
Related
Activities
See also
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: