move key creation to create user script
This commit is contained in:
parent
692ff248d5
commit
3568565dfd
|
@ -5,3 +5,5 @@ USERNAME=$1
|
||||||
aws iam create-user --user-name $USERNAME
|
aws iam create-user --user-name $USERNAME
|
||||||
|
|
||||||
aws iam add-user-to-group --user-name $USERNAME --group-name CraftListBuckets
|
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.
|
# 5. Finally we need to create an access token for the user.
|
||||||
BUCKETNAME=$1
|
BUCKETNAME=$1
|
||||||
|
|
||||||
./create-aws-user.sh $BUCKETNAME
|
./create-aws-user-and-key.sh $BUCKETNAME
|
||||||
|
|
||||||
aws iam create-access-key --user-name $BUCKETNAME
|
|
||||||
|
|
||||||
# Create a bucket in Ireland, because Craft2 S3 functionality needs a little
|
# Create a bucket in Ireland, because Craft2 S3 functionality needs a little
|
||||||
# older authentication scheme only found in certain AWS data centers.
|
# older authentication scheme only found in certain AWS data centers.
|
||||||
|
|
Loading…
Reference in a new issue