Changing minio access credentials

Got this message from minio WARNING: MINIO_ACCESS_KEY and MINIO_SECRET_KEY are deprecated. Please use MINIO_ROOT_USER and MINIO_ROOT_PASSWORD
This commit is contained in:
Loris Mario GOMEZ 2022-11-03 09:49:13 +01:00 committed by GitHub
parent 15ad3a3604
commit 737913b742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -10,12 +10,12 @@ MINIO_VOLUMES="{{ minio_server_datadirs | join(' ') }}"
MINIO_OPTS="--address {{ minio_server_addr }} {{ minio_server_opts }}"
{% if minio_access_key %}
# Access Key of the server.
MINIO_ACCESS_KEY="{{ minio_access_key }}"
# Root user of the server because Access Key of the server has been deprecated.
MINIO_ROOT_USER="{{ minio_access_key }}"
{% endif %}
{% if minio_secret_key %}
# Secret key of the server.
MINIO_SECRET_KEY="{{ minio_secret_key }}"
# Root password of the server because Secret key of the server has been deprecated.
MINIO_ROOT_PASSWORD="{{ minio_secret_key }}"
{% endif %}
{{ minio_server_env_extra }}