Updates for mc release 2024-06-20T14-50-54Z - Adds info about requiring Raw Base64 or Hex keys - Updates links for KES docs on encryption pages - Updates encryption pages to use ventilated prose (one sentence per line) - Adds new flag for `mc get` - Updates `mc put` with enc-# flags Closes #1253
6.1 KiB
Server-Side Encryption of Objects
minio
Table of Contents
MinIO Server-Side Encryption (SSE) protects objects as part of write operations, allowing clients to take advantage of server processing power to secure objects at the storage layer (encryption-at-rest). SSE also provides key functionality to regulatory and compliance requirements around secure locking and erasure.
MinIO SSE uses the MinIO Key Encryption Service (KES) <>
and
an external Key Management Service (KMS) for performing secured
cryptographic operations at scale. MinIO also supports client-managed
key management, where the application takes full responsibility for
creating and managing encryption keys for use with MinIO SSE.
MinIO SSE is feature and API compatible with AWS Server-Side Encryption <server-side-encryption.html>
and supports the following encryption strategies:
SSE-KMS Recommended
MinIO supports enabling automatic SSE-KMS encryption of all objects
written to a bucket using a specific External Key (EK) stored on the
external KMS (Key Management System)
. Clients can override the
bucket-default EK (External Key)
by specifying an explicit key as
part of the write operation.
For buckets without automatic SSE-KMS encryption, clients can specify
an EK (External Key)
as part of the write operation instead.
MinIO encrypts backend data as part of enabling server-side encryption. You cannot disable SSE-KMS encryption once enabled.
SSE-KMS provides more granular and customizable encryption compared to SSE-S3 and SSE-C and is recommended over the other supported encryption methods.
For a tutorial on enabling SSE-KMS in a local (non-production) MinIO
Deployment, see minio-encryption-sse-kms-quickstart
. For production
MinIO deployments, use one of the following guides:
AWS Secrets Manager <integrations/aws-secrets-manager/>
Azure Key Vault <integrations/azure-keyvault/>
Entrust KeyControl <integrations/entrust-keycontrol/>
Fortanix SDKMS <integrations/fortanix-sdkms/>
Google Cloud Secret Manager <integrations/google-cloud-secret-manager/>
HashiCorp Vault Keystore <integrations/hashicorp-vault-keystore/>
Thales CipherTrust Manager (formerly Gemalto KeySecure) <integrations/thales-ciphertrust/>
SSE-S3
MinIO supports enabling automatic SSE-S3 encryption of all objects
written to a bucket using an EK (External Key)
stored on the external KMS (Key Management System)
.
MinIO SSE-S3 supports one EK (External Key)
for the entire deployment.
For buckets without automatic SSE-S3 encryption, clients can request SSE encryption as part of the write operation instead.
MinIO encrypts backend data as part of enabling server-side encryption. You cannot disable SSE-KMS encryption once enabled.
For a tutorial on enabling SSE-s3 in a local (non-production) MinIO
Deployment, see minio-encryption-sse-s3-quickstart
. For production
MinIO deployments, use one of the following guides:
AWS Secrets Manager <integrations/aws-secrets-manager/>
Azure Key Vault <integrations/azure-keyvault/>
Entrust KeyControl <integrations/entrust-keycontrol/>
Fortanix SDKMS <integrations/fortanix-sdkms/>
Google Cloud Secret Manager <integrations/google-cloud-secret-manager/>
HashiCorp Vault Keystore <integrations/hashicorp-vault-keystore/>
Thales CipherTrust Manager (formerly Gemalto KeySecure) <integrations/thales-ciphertrust/>
SSE-C
Clients specify an EK (External Key)
as part of the write operation for
an object. MinIO uses the specified EK (External Key)
to perform SSE-S3.
SSE-C does not support bucket-default encryption settings and requires clients perform all key management operations.
MinIO SSE requires enabling minio-tls
.
Secure Erasure and Locking
MinIO requires access to the Encryption Key (EK) and external Key Management System (KMS) used as part of SSE operations to decrypt an object. You can use this dependency to securely erase and lock objects from access by disabling access to the EK or KMS used for encryption.
General strategies include, but are not limited to:
Seal the
KMS (Key Management System)
such that it cannot be accessed by MinIO server anymore. This locks all SSE-KMS or SSE-S3 encrypted objects protected by anyEK (External Key)
stored on the KMS. The encrypted objects remain unreadable as long as the KMS remains sealed.Seal/Unmount an
EK (External Key)
. This locks all SSE-KMS or SSE-S3 encrypted objects protected by that EK. The encrypted objects remain unreadable as long as the CMK(s) remains sealed.Delete an
EK (External Key)
. This renders all SSE-KMS or SSE-S3 encrypted objects protected by that EK as permanently unreadable. The combination of deleting an EK and deleting the data may fulfill regulatory requirements around secure deletion of data.Deleting an
EK (External Key)
is typically irreversible. Exercise extreme caution before intentionally deleting a master key.
For more information, see:
SSE-KMS Secure Erasure and Locking <minio-encryption-sse-kms-erasure-locking>
SSE-S3 Secure Erasure and Locking <minio-encryption-sse-s3-erasure-locking>
SSE-C Secure Erasure and Locking <minio-encryption-sse-c-erasure-locking>
/administration/server-side-encryption/server-side-encryption-sse-kms /administration/server-side-encryption/server-side-encryption-sse-s3 /administration/server-side-encryption/server-side-encryption-sse-c