mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
remove support for deprecated MINIO_KMS_MASTER_KEY (#12463)
This commit is contained in:
@@ -71,17 +71,6 @@ docker_kms_secret_encryption_env() {
|
||||
fi
|
||||
}
|
||||
|
||||
## Legacy
|
||||
## Set KMS_MASTER_KEY from docker secrets if provided
|
||||
docker_kms_master_encryption_env() {
|
||||
KMS_MASTER_KEY_FILE="/run/secrets/$MINIO_KMS_MASTER_KEY_FILE"
|
||||
|
||||
if [ -f "$KMS_MASTER_KEY_FILE" ]; then
|
||||
MINIO_KMS_MASTER_KEY="$(cat "$KMS_MASTER_KEY_FILE")"
|
||||
export MINIO_KMS_MASTER_KEY
|
||||
fi
|
||||
}
|
||||
|
||||
# su-exec to requested user, if service cannot run exec will fail.
|
||||
docker_switch_user() {
|
||||
if [ ! -z "${MINIO_USERNAME}" ] && [ ! -z "${MINIO_GROUPNAME}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user