move key creation to create user script
This commit is contained in:
parent
692ff248d5
commit
3568565dfd
3 changed files with 3 additions and 3 deletions
|
@ -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
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue