Skip to content

Comments

Add plaintextOnly filter to batch keyrotate jobs #538

Open
jinapurapu wants to merge 2 commits intominio:mainfrom
jinapurapu:add_plaintextOnly
Open

Add plaintextOnly filter to batch keyrotate jobs #538
jinapurapu wants to merge 2 commits intominio:mainfrom
jinapurapu:add_plaintextOnly

Conversation

@jinapurapu
Copy link
Contributor

Summary

  • Add PlaintextOnly filter to batch keyrotate jobs to target only unencrypted objects
  • Add ForceEncryptLocked filter to allow encrypting objects under retention/lock

Use Case

After enabling Server-Side Encryption on a MinIO deployment, previously uploaded objects remain
unencrypted. The plaintextOnly: true filter allows users to encrypt existing plaintext data using
SSE-KMS without re-processing objects that are already encrypted.

Source Object State Batch Result
Plaintext (unencrypted) Encrypted with SSE-KMS
SSE-KMS encrypted Skipped
SSE-S3 encrypted Skipped
SSE-C encrypted Skipped (not supported)

Corresponds to MinIO server fields in BatchKeyRotateFilter at cmd/batch-rotate.go.

@jinapurapu jinapurapu self-assigned this Feb 23, 2026
@jinapurapu jinapurapu added the bug Something isn't working label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant