yml-config: Add support of rootUser and rootPassword (#18615)

Users can define the root user and password in the yaml configuration
file; Root credentials defined in the environment variable still take
precedence
This commit is contained in:
Anis Eleuch
2023-12-08 12:04:54 -08:00
committed by GitHub
parent aed7a1818a
commit 6f97663174
8 changed files with 136 additions and 8 deletions

View File

@@ -18,6 +18,8 @@ Following is an example YAML configuration structure.
```
version: v1
address: ':9000'
rootUser: 'minioadmin'
rootPassword: 'pBU94AGAY85e'
console-address: ':9001'
certs-dir: '/home/user/.minio/certs/'
pools: # Specify the nodes and drives with pools