We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c4bfde commit ad1b3c3Copy full SHA for ad1b3c3
git-credential-s3-secrets
@@ -95,7 +95,8 @@ s3_download() {
95
aws_s3_args+=("--sse" "aws:kms")
96
fi
97
98
- if ! aws s3 cp "${aws_s3_args[@]}" "s3://$1/$2" - ; then
+ local s3_uri="s3://${bucket}/${key}"
99
+ if ! aws s3 cp "${aws_s3_args[@]}" "${s3_uri}" - ; then
100
echo "Failed to download s3://$bucket/$key" >&2
101
exit 1
102
0 commit comments