Skip to content

Commit

Permalink
WIP: Update SSE algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
br3ndonland committed Jan 18, 2024
1 parent e246b34 commit 9f43adf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastenv/cloud/object_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ def _set_presigned_url_query_params(
if self._config.session_token:
params["X-Amz-Security-Token"] = self._config.session_token
if server_side_encryption:
params["X-Amz-Server-Side-Encryption"] = server_side_encryption
params[
"X-Amz-Server-Side-Encryption-Customer-Algorithm"
] = server_side_encryption
params["X-Amz-SignedHeaders"] = "host"
headers = {"host": self._config.bucket_host}
# 1. create canonical request
Expand Down

0 comments on commit 9f43adf

Please sign in to comment.