1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00

Update server-side-encryption-sse-c.rst

Change encrypt-key to enc-c
Keys cannot end in "="
See https://github.com/minio/mc/pull/4882
This commit is contained in:
Allan Roger Reid
2024-10-22 11:54:08 -07:00
committed by GitHub
parent b79934f11d
commit 705743aa36

View File

@@ -126,7 +126,7 @@ arguments for enabling SSE-S3 encryption:
:class: copyable :class: copyable
mc cp ~/data/mydata.json ALIAS/BUCKET/mydata.json \ mc cp ~/data/mydata.json ALIAS/BUCKET/mydata.json \
--encrypt-key "ALIAS/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo=" --enc-c "ALIAS/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo"
- Replace :mc-cmd:`ALIAS <mc encrypt set ALIAS>` with the - Replace :mc-cmd:`ALIAS <mc encrypt set ALIAS>` with the
:mc:`alias <mc alias>` of the MinIO deployment on which you want to write :mc:`alias <mc alias>` of the MinIO deployment on which you want to write
@@ -158,7 +158,7 @@ arguments for enabling SSE-S3 encryption:
:class: copyable :class: copyable
mc cp SOURCE/BUCKET/mydata.json TARGET/BUCKET/mydata.json \ mc cp SOURCE/BUCKET/mydata.json TARGET/BUCKET/mydata.json \
--encrypt-key "SOURCE/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo=,TARGET/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo=" --enc-c "SOURCE/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo" --enc-c "TARGET/BUCKET/=c2VjcmV0ZW5jcnlwdGlvbmtleWNoYW5nZW1lMTIzNAo"
- Replace :mc-cmd:`SOURCE/BUCKET <mc encrypt set ALIAS>` with the - Replace :mc-cmd:`SOURCE/BUCKET <mc encrypt set ALIAS>` with the
:mc:`alias <mc alias>` of the MinIO deployment from which you are reading the :mc:`alias <mc alias>` of the MinIO deployment from which you are reading the