Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for autoGenerateRootCredentials (0.32 sec)

  1. cmd/common-main.go

    		logger.Info(color.RedBold(msg))
    	}
    	globalCredViaEnv = true
    	return cred
    }
    
    // autoGenerateRootCredentials generates root credentials deterministically if
    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() auth.Credentials {
    	if GlobalKMS == nil {
    		return globalActiveCred
    	}
    
    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

    		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.
    			cred = autoGenerateRootCredentials()
    		}
    
    		if !cred.IsValid() {
    			cred = auth.DefaultCredentials
    		}
    
    		var err error
    		globalNodeAuthToken, err = authenticateNode(cred.AccessKey, cred.SecretKey)
    		if err != nil {
    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