Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for anonymous (0.21 sec)

  1. cmd/test-utils_test.go

    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    //	apiRouter - http.Handler with the relevant API endPoint (API endPoint under test) registered.
    //	anonReq   - unsigned *http.Request to invoke the handler's response for anonymous requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    	ctxt.Addr = ctx.GlobalString("address")
    	if ctxt.Addr == "" || ctxt.Addr == ":"+GlobalMinioDefaultPort {
    		ctxt.Addr = ctx.String("address")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  3. cmd/object-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodGet, getGetObjectURL("", bucketName, objectName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cmd/globals.go

    	cmdline string
    	layout  [][]string
    }
    
    type disksLayout struct {
    	legacy bool
    	pools  []poolDisksLayout
    }
    
    type serverCtxt struct {
    	JSON, Quiet               bool
    	Anonymous                 bool
    	StrictS3Compat            bool
    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/bucket-targets.go

    	sys.hMutex.Lock()
    	sys.hc[ep.Host] = epHealth{
    		Endpoint: ep.Host,
    		Scheme:   ep.Scheme,
    		Online:   true,
    	}
    	sys.hMutex.Unlock()
    }
    
    // newHCClient initializes an anonymous client for performing health check on the remote endpoints
    func newHCClient() *madmin.AnonymousClient {
    	clnt, e := madmin.NewAnonymousClientNoEndpoint()
    	if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/color"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // HighwayHash key for logging in anonymous mode
    var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
    
    // Enumerated level types
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. cmd/warm-backend-gcs.go

    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. cmd/main.go

    		Name:  "certs-dir, S",
    		Value: defaultCertsDir.Get(),
    		Usage: "path to certs directory",
    	},
    	cli.BoolFlag{
    		Name:  "quiet",
    		Usage: "disable startup and info messages",
    	},
    	cli.BoolFlag{
    		Name:  "anonymous",
    		Usage: "hide sensitive information from logging",
    	},
    	cli.BoolFlag{
    		Name:  "json",
    		Usage: "output logs in JSON format",
    	},
    	// Deprecated flag, so its hidden now, existing deployments will keep working.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		return
    	}
    
    	// Check if anonymous (non-owner) has access to list objects.
    	readable := globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    		Action:          policy.ListBucketAction,
    		BucketName:      bucket,
    		ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    		IsOwner:         false,
    	})
    
    	// Check if anonymous (non-owner) has access to upload objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top