This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUCKET=<bucket> | |
awsume admin-role | |
echo "Test 1 (try to use default encryption) - Expected result: SUCCESS" | |
aws s3 cp test.txt s3://$BUCKET/kms_test_1.txt | |
echo "Test 2 (specify correct encryption headers) - Expected result: SUCCESS" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
URL=$1 | |
REMOTENAME=$2 | |
PROFILE=$3 | |
git remote add $REMOTENAME $URL | |
git config --local credential.$URL.helper "!aws codecommit credential-helper --profile=$PROFILE" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-06-15T00:45:11.281Z","extensionVersion":"v3.4.3"} |