..

docs/content/cmds/aws-sso_account_add.md## aws-sso account add

Associate an alias to an AWS account ID and default region.

aws-sso account add [flags]

Examples

  aws-sso account add --name env1 --number 000000000 --region us-west-2

Options

  -h, --help            help for add
      --name string     The logical name of the account being added
      --number string   The account number of the account associated to the account name
  -p, --private         The account is a private account
  -r, --region string   The default region to associate to the account
  -t, --token string    The token to use for the account (default "default")
      --url string      The SSO URL to use for the account

Options inherited from parent commands

      --as string               Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
      --as-group stringArray    Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --commandTimeout string   the default timeout for network commands executed (default "1m")
      --config string           Configuration file to use during execution (default "/Users/lefebl4")

SEE ALSO

Auto generated by spf13/cobra on 4-Sep-2025