Skip to content

Commit 3ebdfb2

Browse files
Nicolas Brieusselclaude
authored andcommitted
fix: add --sse AES256 to S3 puts — bucket enforces server-side encryption
Scaleway rejects PutObject without the SSE header when the bucket has server-side encryption configured. Only puts need the flag; gets are unaffected (server decrypts transparently). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 95099f8 commit 3ebdfb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/openbao-init/templates/configmap-init-script.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ data:
1919
apk add --no-cache curl jq aws-cli 2>/dev/null || true
2020
aws configure set default.s3.signature_version s3v4 2>/dev/null || true
2121
22-
s3_put() { aws s3 cp "$1" "$2" --endpoint-url "${S3_ENDPOINT}"; }
22+
s3_put() { aws s3 cp "$1" "$2" --endpoint-url "${S3_ENDPOINT}" --sse AES256; }
2323
s3_get() { aws s3 cp "$1" "$2" --endpoint-url "${S3_ENDPOINT}"; }
2424
s3_exists() { aws s3 ls "$1" --endpoint-url "${S3_ENDPOINT}" > /dev/null 2>&1; }
2525

0 commit comments

Comments
 (0)