Skip to content

Enable encryption in OpenShift or k8s

Cesar Celis Hernandez edited this page Nov 2, 2022 · 2 revisions
  1. Edit the tenant and add the key in this format MINIO_KMS_SECRET_KEY=<key-name>:<base64-key>:
spec:
  configuration:
    name: cesar-env-configuration
  credsSecret:
    name: cesar-secret
  env:
  - name: MINIO_KMS_SECRET_KEY
    value: my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
  1. Enable the encryption in the bucket via UI or mc using the key above:
root@ubuntu:/# mc encrypt set sse-kms "my-minio-key" myminio/bucket-one --insecure
Auto encryption configuration has been set successfully for myminio/bucket-one
Screen Shot 2022-11-02 at 6 50 25 PM
Clone this wiki locally