move key creation to create user script

This commit is contained in:
Nils Norman Haukås 2018-08-14 13:51:34 +02:00
parent 692ff248d5
commit 3568565dfd
No known key found for this signature in database
GPG Key ID: BB8DD87F83E1359E
3 changed files with 3 additions and 3 deletions

View File

@ -5,3 +5,5 @@ USERNAME=$1
aws iam create-user --user-name $USERNAME
aws iam add-user-to-group --user-name $USERNAME --group-name CraftListBuckets
aws iam create-access-key --user-name $USERNAME

View File

@ -9,9 +9,7 @@
# 5. Finally we need to create an access token for the user.
BUCKETNAME=$1
./create-aws-user.sh $BUCKETNAME
aws iam create-access-key --user-name $BUCKETNAME
./create-aws-user-and-key.sh $BUCKETNAME
# Create a bucket in Ireland, because Craft2 S3 functionality needs a little
# older authentication scheme only found in certain AWS data centers.