Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for allowed (0.21 sec)

  1. internal/config/policy/opa/config.go

    		return nil
    	}
    	return &Opa{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    // IsAllowed - checks given policy args is allowed to continue the REST API.
    func (o *Opa) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// OPA input
    	body := make(map[string]interface{})
    	body["input"] = args
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  2. internal/config/identity/plugin/config.go

    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    )
    
    // Allows only Base64 URL encoding characters.
    var validRoleIDRegex = regexp.MustCompile(`^[A-Za-z0-9_-]+$`)
    
    // Args for authentication plugin.
    type Args struct {
    	URL         *xnet.URL
    	AuthToken   string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. internal/config/policy/plugin/config.go

    		return nil
    	}
    	return &AuthZPlugin{
    		args:   args,
    		client: &http.Client{Transport: args.Transport},
    	}
    }
    
    // IsAllowed - checks given policy args is allowed to continue the REST API.
    func (o *AuthZPlugin) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// Access Management Plugin Input
    	body := make(map[string]interface{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. internal/config/config.go

    )
    
    // Site - holds site info - name and region.
    type Site struct {
    	Name   string
    	Region string
    }
    
    var validRegionRegex = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-_-]+$")
    
    // validSiteNameRegex - allows lowercase letters, digits and '-', starts with
    // letter. At least 2 characters long.
    var validSiteNameRegex = regexp.MustCompile("^[a-z][a-z0-9-]+$")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. internal/config/identity/tls/config.go

    	// when requesting temp. credentials.
    	// By default, MinIO always verify the client certificate.
    	//
    	// The client certificate verification should only be skipped
    	// when debugging or testing a setup since it allows arbitrary
    	// clients to obtain temp. credentials with arbitrary policy
    	// permissions - including admin permissions.
    	EnvIdentityTLSSkipVerify = "MINIO_IDENTITY_TLS_SKIP_VERIFY"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. cmd/config.go

    )
    
    const (
    	minioConfigPrefix = "config"
    	minioConfigBucket = minioMetaBucket + SlashSeparator + minioConfigPrefix
    	kvPrefix          = ".kv"
    
    	// Captures all the previous SetKV operations and allows rollback.
    	minioConfigHistoryPrefix = minioConfigPrefix + "/history"
    
    	// MinIO configuration file.
    	minioConfigFile = "config.json"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top