mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
kms: initialize after cli parsing (#15076)
KMS depends on the --certs-dir flag. Ensure KMS is initialized after loading the flag.
This commit is contained in:
@@ -435,6 +435,9 @@ func serverMain(ctx *cli.Context) {
|
||||
// Handle all server command args.
|
||||
serverHandleCmdArgs(ctx)
|
||||
|
||||
// Initialize KMS configuration
|
||||
handleKMSConfig()
|
||||
|
||||
// Set node name, only set for distributed setup.
|
||||
globalConsoleSys.SetNodeName(globalLocalNodeName)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user