Authenticate to the AWS Web Console
Authenticate to the AWS Web Console in the security account
To authenticate to the security account, you will need to:
- Login URL. This should be of the format
https://<ACCOUNT ID>.signin.aws.amazon.com/console
. - IAM User Credentials. This will consist of a username and password. See setting up initial access for how to create IAM users.
- An MFA Token. This is something you must set up during your first login. See configuring your IAM user.
Once you have these details, open your web browser to the Login URL, enter your username, password, and MFA token, and you should be in.
Authenticate to the AWS Web Console in all other accounts
To authenticate to any other account (e.g., dev, stage, prod), you need to:
Authenticate to the security account. Since all IAM users are defined in this account, you must always authenticate to it first.
Switching to an IAM Role in the other AWS account. To access other accounts, you "switch" to (AKA, "assume") an IAM role defined in that account: e.g., to get read-only access to an account, you could assume the
allow-read-only-access-from-other-accounts
IAM role. See thecross-account-iam-roles
module for the default set of IAM roles that exist in each account. Note that to be able to access an IAM rolexxx
in some accountyyy
, your IAM user must be in an IAM group that has permissions to assume that IAM role. For example, to assume theallow-read-only-access-from-other-accounts
IAM role in the prod account, you must be in the_account.prod-read-only
IAM group. See Configure other IAM users for how you add users to IAM groups.