This is the procedure for rotating AWS Keys that the Bridge Server Team uses.
In the AWS Console, create the new AWS Key.
Add the new key to LastPass in the folder Shared-Bridge-Server in the file Bridge IAM Users.
For AWS User BridgeDocsAndRepoBuild, update the keys in the following Travis environments using the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
bridge-base
BridgeDocs
BridgeJavaSDK
BridgeResearcherUI
For AWS User TravisUser, update the following Travis environments using the environment variables AwsTravisAccessKey_prod and AwsTravisSecretAccessKey_prod. (Substitute the stage with _develop and _uat if you are rotating the Bridge-Develop key.)
BridgeServer2-infra
BridgeWorkerPlatform-infra
TODO BridgeServer2 and BridgeWorkerPlatform
The following repos are rarely built. To save time, we can put off updating the keys until we have changes in these repos. (The AWS keys themselves should still be rotated regardless.)
BridgeDataUploadUtils
Bridge-Exporter
Bridge-Exporter-infra
BridgeIntegTestUtils
BridgeMasterScheduler
BridgeTestUtils
Delete the old keys from IAM and from LastPass.