mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -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:
@@ -212,6 +212,9 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
// Handle gateway specific env
|
||||
gatewayHandleEnvVars()
|
||||
|
||||
// Initialize KMS configuration
|
||||
handleKMSConfig()
|
||||
|
||||
// Set system resources to maximum.
|
||||
setMaxResources()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user