Difference between revisions of "Aws iam list-account-aliases"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
* <code>[[aws iam create-account-alias]]</code> | * <code>[[aws iam create-account-alias]]</code> | ||
* <code>[[aws organizations list-accounts]]</code> | * <code>[[aws organizations list-accounts]]</code> | ||
− | * [[ | + | * <code>[[account-id]]</code> |
* [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> | * [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> | ||
* <code>[[aws sts get-caller-identity]]</code> | * <code>[[aws sts get-caller-identity]]</code> |
Latest revision as of 13:20, 20 August 2024
https://awscli.amazonaws.com/v2/documentation/api/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[edit]
aws list all
aws iam create-account-alias
aws organizations list-accounts
account-id
- AWS Organizations:
aws organizations list-accounts
aws sts get-caller-identity
- AWS info
Activities[edit]
See also[edit]
Advertising: