Skip to content

Commit

Permalink
Add missing SSE param for signed PutObject URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Feb 7, 2024
1 parent 890fcc0 commit df1e67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/lib/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export async function s3PutSignedUrl(
Key: key,
ContentType:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
ServerSideEncryption: 'AES256',
}
const url = await awsGetSignedUrl(s3, new PutObjectCommand(baseParams), {
expiresIn: 60,
Expand Down

0 comments on commit df1e67d

Please sign in to comment.