Difference between revisions of "Aws iam list-account-aliases"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
== Related == | == Related == | ||
* <code>[[aws list all]]</code> | * <code>[[aws list all]]</code> | ||
+ | * <code>[[aws organizations list-accounts]]</code> | ||
* [[Account-id]] | * [[Account-id]] | ||
* [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> | * [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> |
Revision as of 11:32, 2 May 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
aws list all
aws organizations list-accounts
- Account-id
- AWS Organizations:
aws organizations list-accounts
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: