AWS Identity and Access Management
CLI Reference (API Version 2010-05-08)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

iam-accountaliascreate

Description

Creates an alias for your AWS account ID in the URL of your IAM-enabled AWS Management Console sign-in page. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management.

Note

The URL containing the alias does not replace the original URL that contains your account ID. The original URL will remain active.

Note

You can create only a limited number of aliases, and use only a restricted set of characters for your alias. For more information, see Appendix A: Limitations on IAM Entities.

Syntax

iam-accountaliascreate -a ACCOUNT ALIAS

Options

Name Description Required

-a ACCOUNT ALIAS

The alias for the AWS account ID.

Type: String

Default: None

Yes

Output

If the command is successful, the output is empty.

Example

The following example request creates the alias mycompany for the AWS account ID in URL of the AWS Management Console sign-in page.

PROMPT> iam-accountaliascreate -a mycompany