Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ks (0.11 sec)

  1. cmd/server-main.go

    		fmt.Println("== DEBUG Mode enabled ==")
    		fmt.Println("Currently set environment settings:")
    		ks := []string{
    			config.EnvAccessKey,
    			config.EnvSecretKey,
    			config.EnvRootUser,
    			config.EnvRootPassword,
    		}
    		for _, v := range os.Environ() {
    			// Do not print sensitive creds in debug.
    			if slices.Contains(ks, strings.Split(v, "=")[0]) {
    				continue
    			}
    			fmt.Println(v)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top