Difference between revisions of "Aws iam list-account-aliases"
Jump to navigation
Jump to search
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-account-aliases.html | ||
+ | |||
+ | * <code>[[aws iam]] list-account-aliases</code> | ||
+ | * <code>aws iam list-account-aliases --output text</code> | ||
[[aws iam]] list-account-aliases | [[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 == | == Related == | ||
* <code>[[aws list all]]</code> | * <code>[[aws list all]]</code> | ||
+ | * <code>[[aws iam create-account-alias]]</code> | ||
+ | * <code>[[aws organizations list-accounts]]</code> | ||
+ | * <code>[[account-id]]</code> | ||
+ | * [[AWS Organizations]]: <code>[[aws organizations list-accounts]]</code> | ||
+ | * <code>[[aws sts get-caller-identity]]</code> | ||
+ | * [[AWS info]] | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html | ||
== See also == | == See also == | ||
− | * {{aws | + | * {{aws alias}} |
+ | * {{AWS accounts}} | ||
[[Category:AWS]] | [[Category:AWS]] |
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: