AWS account setup
  • AWS account setup
  • How to
    • How to log in to the AWS console
    • How to get credentials for working locally, e.g. the AWS CLI
    • How to select a role in the AWS CLI
    • How to get credentials for staff who aren't developers
  • Users, IAM roles, accounts, and so on
    • Introduction
    • What are our AWS accounts?
    • What is an initial role?
    • What are our standard roles?
  • Networking
    • Our VPC setup
Powered by GitBook
On this page
  • Which initial role do you use?
  • Examples
  1. Users, IAM roles, accounts, and so on

What is an initial role?

PreviousWhat are our AWS accounts?NextWhat are our standard roles?

Last updated 2 months ago

An initial role is the first IAM role that users assume when they log into our AWS estate. It is represented by a permission set in the AWS Identity Center.

This initial role can't do anything except assume a more specific IAM role. It's a "stepping stone" into AWS.

Which initial role do you use?

The initial roles are handled by for the Platform AWS account.

This is terraformed in the wellcomeorganisation-infra repository, in the Wellcome Trust GitHub organisation.

Everybody who can log into our AWS estate is a member of at least one of these groups.

Groups can be associated with permission sets, which applies IAM policies in a particular AWS account.

When you log in to AWS, your initial permissions set is determined by the role you choose at the Identity Center login screen.

Examples

  1. Suppose you're a member of the RG_WC_Digital_Platform_Lead group. A permission set assigned to this group is weco-developer.

    There is only one choice of role, so when you log in to AWS, you're logged in using the weco-developer role.

  2. Suppose you're a member of the RG_WC_Digital_Platform_Lead and RG_WC_Digital_Artefactual groups. The initial roles assigned to these groups are weco-developer and weco-artefactual-developer.

    When you log in to AWS via Identity Center, you'll be offered a choice between these two roles.

AWS Identity Center configuration
A table of groups in the Identity Center. Each group has a name (for example, 'RG_WC_Digirati_Developer') and a list of users assigned (for example, 'digirati-dev, azure_sso-saml_provider').
A table of permission sets in the Identity Center.').
The identity center login screen with examples of differeing permission sets').