Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for UserName (0.29 sec)

  1. cmd/bucket-policy.go

    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    		claims   = cred.Claims
    		groups   = cred.Groups
    	)
    
    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		username = cred.ParentUser
    	}
    
    	principalType := "Anonymous"
    	if username != "" {
    		principalType = "User"
    		if len(claims) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. internal/event/target/elasticsearch.go

    			return errors.New("format value unrecognized")
    		}
    	}
    	if a.Index == "" {
    		return errors.New("empty index value")
    	}
    
    	if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") {
    		return errors.New("username and password should be set in pairs")
    	}
    
    	return nil
    }
    
    // ElasticsearchTarget - Elasticsearch target.
    type ElasticsearchTarget struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    	EnvLookupBindDN       = "MINIO_IDENTITY_LDAP_LOOKUP_BIND_DN"
    	EnvLookupBindPassword = "MINIO_IDENTITY_LDAP_LOOKUP_BIND_PASSWORD"
    )
    
    var removedKeys = []string{
    	"sts_expiry",
    	"username_format",
    	"username_search_filter",
    	"username_search_base_dn",
    	"group_name_attribute",
    }
    
    // DefaultKVS - default config for LDAP config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  4. internal/config/dns/operator_dns.go

    	rootCAs    *x509.CertPool
    	username   string
    	password   string
    }
    
    // OperatorOption - functional options pattern style for OperatorDNS
    type OperatorOption func(*OperatorDNS)
    
    // Authentication - custom username and password for authenticating at the endpoint
    func Authentication(username, password string) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.username = username
    		args.password = password
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/event/target/nats.go

    	if n.ClientCert != "" && n.ClientKey == "" || n.ClientCert == "" && n.ClientKey != "" {
    		return errors.New("cert and key must be specified as a pair")
    	}
    
    	if n.Username != "" && n.Password == "" || n.Username == "" && n.Password != "" {
    		return errors.New("username and password must be specified as a pair")
    	}
    
    	if n.Streaming.Enable {
    		if n.Streaming.ClusterID == "" {
    			return errors.New("empty cluster id")
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    func (h *headerGNU) v7() *headerV7       { return (*headerV7)(h) }
    func (h *headerGNU) magic() []byte       { return h[257:][:6] }
    func (h *headerGNU) version() []byte     { return h[263:][:2] }
    func (h *headerGNU) userName() []byte    { return h[265:][:32] }
    func (h *headerGNU) groupName() []byte   { return h[297:][:32] }
    func (h *headerGNU) devMajor() []byte    { return h[329:][:8] }
    func (h *headerGNU) devMinor() []byte    { return h[337:][:8] }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  7. internal/event/target/postgresql.go

    		if !args.Host.IsEmpty() {
    			params = append(params, "host="+args.Host.String())
    		}
    		if args.Port != "" {
    			params = append(params, "port="+args.Port)
    		}
    		if args.Username != "" {
    			params = append(params, "username="+args.Username)
    		}
    		if args.Password != "" {
    			params = append(params, "password="+args.Password)
    		}
    		if args.Database != "" {
    			params = append(params, "dbname="+args.Database)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  9. cni/pkg/install/kubeconfig.go

    	}
    
    	const contextName = "istio-cni-context"
    	const clusterName = "local"
    	const userName = "istio-cni"
    	kcfg := &api.Config{
    		Kind:        "Config",
    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			userName: {
    				Token: string(token),
    			},
    		},
    		Contexts: map[string]*api.Context{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. internal/event/target/mqtt.go

    	storePrefix       = "minio"
    )
    
    // MQTT input constants
    const (
    	MqttBroker            = "broker"
    	MqttTopic             = "topic"
    	MqttQoS               = "qos"
    	MqttUsername          = "username"
    	MqttPassword          = "password"
    	MqttReconnectInterval = "reconnect_interval"
    	MqttKeepAliveInterval = "keep_alive_interval"
    	MqttQueueDir          = "queue_dir"
    	MqttQueueLimit        = "queue_limit"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
Back to top