Skip to content

Commit

Permalink
update contributor account creation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonkhen authored Sep 25, 2023
1 parent a1506a2 commit 706e7c5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/SOPs/Introduction/dataset_wrangling_SOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 706e7c5

Please sign in to comment.