Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for claims (0.19 sec)

  1. docs/iam/identity-manager-plugin.go

    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    		User:               "Bart",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	}
    
    	// Verify the session token of the stsCred
    	claims, err := auth.ExtractClaims(stsCred.SessionToken, secretKey)
    	if err != nil {
    		return fmt.Errorf("STS credential could not be verified: %w", err)
    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    	disks := er.getDisks()
    	// Assume (N/2 + 1) quorum for Delete()
    	// this is a theoretical assumption such that
    	// for delete's we do not need to honor storage
    	// class for objects that have reduced quorum
    	// due to storage class - this only needs to be honored
    	// for Read() requests alone that we already do.
    	writeQuorum := len(disks)/2 + 1
    
    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. internal/logger/console.go

    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	for i, ep := range endpointServerPools {
    		// If storage class is not set during startup, default values are used
    		// -- Default for Reduced Redundancy Storage class is, parity = 2
    		// -- Default for Standard Storage class is, parity = 2 - disks 4, 5
    		// -- Default for Standard Storage class is, parity = 3 - disks 6, 7
    		// -- Default for Standard Storage class is, parity = 4 - disks 8 to 16
    		if commonParityDrives == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			continue
    		}
    		defaultMeta[k] = v
    	}
    
    	// remove SSE Headers from source info
    	crypto.RemoveSSEHeaders(defaultMeta)
    
    	// Storage class is special, it can be replaced regardless of the
    	// metadata directive, if set should be preserved and replaced
    	// to the destination metadata.
    	sc := r.Header.Get(xhttp.AmzStorageClass)
    	if sc == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	ErrServerNotInitialized
    	ErrBucketMetadataNotInitialized
    	ErrRequestTimedout
    	ErrClientDisconnected
    	ErrTooManyRequests
    	ErrInvalidRequest
    	ErrTransitionStorageClassNotFoundError
    	// MinIO storage class error codes
    	ErrInvalidStorageClass
    	ErrBackendDown
    	// Add new extended error codes here.
    	// Please open a https://github.com/minio/minio/issues before adding
    	// new error codes here.
    
    	ErrMalformedJSON
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/bucket-targets.go

    type TargetClient struct {
    	*minio.Client
    	healthCheckDuration time.Duration
    	Bucket              string // remote bucket target
    	replicateSync       bool
    	StorageClass        string // storage class on remote
    	disableProxy        bool
    	ARN                 string // ARN to uniquely identify remote target
    	ResetID             string
    	Endpoint            string
    	Secure              bool
    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)
  9. cmd/object-api-errors.go

    }
    
    // TransitionStorageClassNotFound remote tier not configured.
    type TransitionStorageClassNotFound GenericError
    
    func (e TransitionStorageClassNotFound) Error() string {
    	return "Transition storage class not found "
    }
    
    // InvalidObjectState restore-object doesn't apply for the current state of the object.
    type InvalidObjectState GenericError
    
    func (e InvalidObjectState) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    	// metadata map
    	claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix()
    	claims[subClaim] = parentUser
    	claims[roleArnClaim] = roleArn.String()
    	claims[parentClaim] = parentUser
    
    	// Add all other claims from the plugin **without** replacing any
    	// existing claims.
    	for k, v := range res.Success.Claims {
    		if _, ok := claims[k]; !ok {
    			claims[k] = v
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top