Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for s3 ServerSideEncryption #15952

Merged

Conversation

rperon
Copy link
Contributor

@rperon rperon commented Oct 12, 2022

Description

Following discussion #15203, this PR add the support for ServerSideEncryption through the environnement variables STORAGE_S3_SERVER_SIDE_ENCRYPTION .

As this is my first PR on this project, I'm available for any modification / clarification. :)

Type of Change

  • Bugfix
  • Improvement
  • New Feature
  • Refactor / codestyle updates
  • Other, please describe:

Requirements Checklist

  • New / updated tests are included
  • All tests are passing locally
  • Performed a self-review of the submitted code

If adding a new feature:

@rijkvanzanten
Copy link
Member

Thanks @rperon, and welcome to the project! ❤️

@rijkvanzanten rijkvanzanten added this to the Next Release milestone Oct 12, 2022
@rijkvanzanten rijkvanzanten merged commit 33d5f86 into directus:main Oct 12, 2022
qborisb pushed a commit to qborisb/directus that referenced this pull request Oct 18, 2022
@Tim-Ganther
Copy link

What are valid options for this variable? I have an AWS SSE-S3 encrypted bucket which I want to access.

@rijkvanzanten
Copy link
Member

rijkvanzanten commented May 8, 2023

What are valid options for this variable? I have an AWS SSE-S3 encrypted bucket which I want to access.

It's an option from aws-sdk/client-s3. From what I can tell, it's either "AES256" or "aws:kms".

https://github.com/aws/aws-sdk-js-v3/blob/1ff8af289bc025ac593aca2e85946b9181818750/clients/client-s3/src/models/models_0.ts#L304

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants