Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Redacted (0.18 sec)

  1. cmd/admin-handlers-config-kv.go

    // 2. `subsys:` -> request for config of a single subsystem and the default target.
    // 3. `subsys` -> request for config of all targets for the given subsystem.
    //
    // This is a reporting API and config secrets are redacted in the response.
    func (a adminAPIHandlers) GetConfigKVHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.8K bytes
    - Viewed (1)
  2. internal/config/config.go

    			vs = ValueSourceDef
    		}
    
    		if redactSecrets && isRedacted {
    			// Skip adding redacted secrets to the output.
    			continue
    		}
    
    		r = append(r, KVSrc{
    			Key:   kv.Key,
    			Value: v,
    			Src:   vs,
    		})
    	}
    
    	// Add the comment key as well if non-empty (and comments are never
    	// redacted).
    	v, vs, _ := c.ResolveConfigParam(subSys, target, Comment, redactSecrets)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 37.7K bytes
    - Viewed (0)
  3. internal/rest/client.go

    	if err != nil {
    		return
    	}
    
    	// Filter out Signature field from Authorization header.
    	origAuth := req.Header.Get("Authorization")
    	if origAuth != "" {
    		req.Header.Set("Authorization", "**REDACTED**")
    	}
    
    	// Only display request header.
    	reqTrace, err := httputil.DumpRequestOut(req, false)
    	if err != nil {
    		return
    	}
    
    	// Write request to trace output.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top