-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update contributor account creation doc
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,11 +199,12 @@ _**This is done by a team member with a developer role.**_ | |
Use the name part of the email address for the account name. | ||
|
||
```shell | ||
# to add user [email protected] as a contributor | ||
aws iam create-user --user-name walter.white --tags Key=project,Value=hca Key=owner,Value=tburdett Key=service,Value=ait | ||
aws iam add-user-to-group --group hca-contributor --user-name walter.white | ||
# to add user as a contributor | ||
read -p "enter username: " contributor_username | ||
aws iam create-user --user-name $contributor_username --tags Key=project,Value=hca Key=owner,Value=tburdett Key=service,Value=ait | ||
aws iam add-user-to-group --group hca-contributor --user-name $contributor_username | ||
# generate secrets | ||
aws iam create-access-key --user-name walter.white | ||
aws iam create-access-key --user-name $contributor_username | ||
``` | ||
|
||
2. Save the credentials json output into a `walter.white-access-keys.txt` file. | ||
|