|
| 1 | +# AWS access management |
| 2 | + |
| 3 | +This document explains how to setup and manage AWS access for Rust team |
| 4 | +members. If you're a team member and you need to access AWS with your existing |
| 5 | +credentials, or you have received your credentials for the first time, check |
| 6 | +out the ["AWS access for team members"](./aws-access.md) page. |
| 7 | + |
| 8 | +## Granting access |
| 9 | + |
| 10 | +To grant access to a person, go to [`team-members-access/_users.tf`][tf] in the |
| 11 | +Terraform configuration and add the new user to it, specifying which teams they |
| 12 | +should be a member of. The user will be created as soon as you apply the |
| 13 | +configuration. |
| 14 | + |
| 15 | +By default, there will be no credentials attached to the user. To allow the |
| 16 | +user to log in, go to the [IAM console][iam-users], open the security |
| 17 | +credentials page of the user you just created, and enable a console password. |
| 18 | +Let AWS generate a random one, and require the password to be changed on first |
| 19 | +login. |
| 20 | + |
| 21 | +Finally communicate to the user that they can join with the generated password, |
| 22 | +and to follow the ["AWS access for team members"](./aws-access.md) page to |
| 23 | +learn how to enable 2FA and gain access to their account. |
| 24 | + |
| 25 | +## Revoking access |
| 26 | + |
| 27 | +To revoke access from a person, log into the [IAM console][iam-users], |
| 28 | +open the security credentials page of the user you want to delete, and: |
| 29 | + |
| 30 | +* Disable console access by clicking "Manage" on the console password |
| 31 | +* Disable 2-factor authentication by clicking "Manage" on the assigned MFA |
| 32 | + device |
| 33 | +* Remove all the access keys, including inactive ones, by clicking the "x". |
| 34 | + |
| 35 | +Once all the access was removed from the console, go to |
| 36 | +[`team-members-access/_users.tf`][tf] in the Terraform configuration, remove |
| 37 | +the user and apply the configuration. |
| 38 | + |
| 39 | +[iam-users]: https://console.aws.amazon.com/iam/home#/users |
| 40 | +[tf]: https://github.com/rust-lang/simpleinfra/blob/master/terraform/team-members-access/_users.tf |
0 commit comments