Skip to content

Commit

Permalink
creating access key secret
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie87041 committed Oct 23, 2023
1 parent 4fd8e5b commit 87ecf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generate_keys () {
JSON_DATA="{\"BUCKET_ACCESS_ID\":\"$BUCKET_ACCESS_ID\",\"BUCKET_ACCESS_KEY\":\"$BUCKET_ACCESS_KEY\"}"

# Store the JSON object as a SecureString parameter with the user name as the parameter name
aws ssm put-parameter --name "$USER" --type "SecureString" --value "$JSON_DATA" --region your-region
aws ssm put-parameter --name "$USER" --type "SecureString" --value "$JSON_DATA" --region $REGION
}
populate_bucket () {
DIREXISTS=$(aws s3 ls s3://$BUCKET/templates/ --region $REGION 2>&1)
Expand Down

0 comments on commit 87ecf01

Please sign in to comment.