minio/pkg/bucket
Andreas Auernhammer a1f70b106f
sse: add support for SSE-KMS bucket configurations (#12295)
This commit adds support for SSE-KMS bucket configurations.
Before, the MinIO server did not support SSE-KMS, and therefore,
it was not possible to specify an SSE-KMS bucket config.

Now, this is possible. For example:
```
mc encrypt set sse-kms some-key <alias>/my-bucket
```

Further, this commit fixes an issue caused by not supporting
SSE-KMS bucket configuration and switching to SSE-KMS as default
SSE method.

Before, the server just checked whether an SSE bucket config was
present (not which type of SSE config) and applied the default
SSE method (which was switched from SSE-S3 to SSE-KMS).

This caused objects to get encrypted with SSE-KMS even though a
SSE-S3 bucket config was present.

This issue is fixed as a side-effect of this commit.

Signed-off-by: Andreas Auernhammer <aead@mail.de>
2021-05-14 00:59:05 -07:00
..
bandwidth move madmin to github.com/minio/madmin-go (#12239) 2021-05-06 08:52:02 -07:00
encryption sse: add support for SSE-KMS bucket configurations (#12295) 2021-05-14 00:59:05 -07:00
lifecycle Support for remote tier management (#12090) 2021-04-23 11:58:53 -07:00
object/lock update license change for MinIO 2021-04-23 11:58:53 -07:00
policy update license change for MinIO 2021-04-23 11:58:53 -07:00
replication Add support for syncing replica modifications (#11104) 2021-05-13 19:20:45 -07:00
versioning update license change for MinIO 2021-04-23 11:58:53 -07:00