-
Notifications
You must be signed in to change notification settings - Fork 0
Enable encryption in OpenShift or k8s
Cesar Celis Hernandez edited this page Nov 2, 2022
·
2 revisions
- 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=
- 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