Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadRootCredentials (0.06 sec)

  1. cmd/common-main.go

    			logger.Fatal(config.ErrMissingEnvCredentialSecretKey(nil), "Unable to start MinIO")
    		}
    	}
    
    	globalEnableSyncBoot = env.Get("MINIO_SYNC_BOOT", config.EnableOff) == config.EnableOn
    }
    
    func loadRootCredentials() auth.Credentials {
    	// At this point, either both environment variables
    	// are defined or both are not defined.
    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	// Load the root credentials from the shell environment or from
    	// the config file if not defined, set the default one.
    	bootstrapTrace("rootCredentials", func() {
    		cred := loadRootCredentials()
    		if !cred.IsValid() && (env.Get(api.EnvAPIRootAccess, config.EnableOn) == config.EnableOff) {
    			// Generate KMS based credentials if root access is disabled
    			// and no ENV is set.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top