Skip to content

docs: document S3 SSE-KMS support - #15375

Merged
cuppett merged 2 commits into
nextcloud:masterfrom
cuppett:feat/s3-sse-kms-primary-storage
Nov 28, 2026
Merged

cuppett merged 2 commits into
nextcloud:masterfrom
cuppett:feat/s3-sse-kms-primary-storage

Conversation

@cuppett

@cuppett cuppett commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Add documentation for the SSE-KMS (AWS Key Management Service) server-side encryption
support introduced in Nextcloud 34 (nextcloud/server#57623). Noting the AWS policy change that disabled SSE-C by default on new S3 buckets in April 2026 and recommending SSE-KMS for new deployments.

Changes:

  • primary_storage.rst — adds sse_kms_enabled and sse_kms_key_id to the S3
    optional parameters list; marks the SSE-C section .. deprecated:: 34 with a
    .. warning:: about the AWS policy change; adds a new "S3 SSE-KMS encryption support"
    section (.. versionadded:: 34) with two configuration examples (specific KMS key ARN
    and bucket-default key); also fixes the SSE-C code example (replaces array() syntax
    with [] and switches the bare :: blocks to .. code-block:: php/bash)
  • encryption_configuration.rst — expands the SSE note to cross-reference both SSE-KMS
    (recommended) and the deprecated SSE-C sections via :ref: and :doc: links

☑️ Resolves

🖼️ Screenshots

s3-encryption-note-2026-11-23 s3-sse-c-encryption-support-2026-11-23 s3-sse-kms-encryption-support-2026-11-23

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@skjnldsv skjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config_sample_php_parameters.rst is generated from server's config.sample.php, so these lines would get overwritten on the next run. The keys need to go there instead. Also I can't find anything in server deprecating SSE-C, so deprecated:: 34 needs someone from the files team to confirm first.

@cuppett

cuppett commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

config_sample_php_parameters.rst is generated from server's config.sample.php, so these lines would get overwritten on the next run. The keys need to go there instead. Also I can't find anything in server deprecating SSE-C, so deprecated:: 34 needs someone from the files team to confirm first.

I propose deprecation in the nextcloud docs given the AWS announcement new accounts/buckets won't have it.

It can still be enabled with a special API call to turn it on.

If we don't want to "deprecate it" in the project, we can soften that and just keep the notices.

@cuppett cuppett changed the title docs: document S3 SSE-KMS support and deprecate SSE-C docs: document S3 SSE-KMS support Nov 23, 2026
cuppett and others added 2 commits November 23, 2026 07:56
Add documentation for the SSE-KMS (AWS Key Management Service) server-side
encryption support introduced in Nextcloud 34 (nextcloud/server#57623).
Mark SSE-C as deprecated, noting the AWS policy change that disabled SSE-C
by default on new S3 buckets in April 2026 and recommending SSE-KMS for
new deployments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Stephen Cuppett <steve@cuppett.com>
Signed-off-by: Stephen Cuppett <steve@cuppett.com>
@cuppett
cuppett force-pushed the feat/s3-sse-kms-primary-storage branch from 7592747 to 2cac817 Compare November 23, 2026 12:56
@cuppett
cuppett requested a review from skjnldsv November 23, 2026 12:56
@skjnldsv

Copy link
Copy Markdown
Member

Thanks! Keeping the notices without deprecating sounds right to me. SSE-C is still fully supported in server, and the AWS change is a default for new buckets rather than SSE-C going away, other S3 providers keep supporting it. So a warning pointing AWS users to SSE-KMS fits better than a deprecation.

I checked the rest against server: SSE-KMS is in 34 (server#57623), and SSE-C does win when both are set (getServerSideEncryptionParameters()), so the precedence warning is accurate. Looks good to me.

@cuppett
cuppett merged commit 1cb8e8c into nextcloud:master Nov 28, 2026
26 of 27 checks passed
@welcome

welcome Bot commented Nov 28, 2026

Copy link
Copy Markdown

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/documentation/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@cuppett
cuppett deleted the feat/s3-sse-kms-primary-storage branch November 28, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants