Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 597 for clientCert (0.21 sec)

  1. internal/event/target/webhook.go

    	AuthToken  string          `json:"authToken"`
    	Transport  *http.Transport `json:"-"`
    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. internal/config/lambda/target/webhook.go

    	Transport  *http.Transport `json:"-"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.ClientCert != "" && w.ClientKey == "" || w.ClientCert == "" && w.ClientKey != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. plugin/pkg/admission/imagepolicy/admission_test.go

    		},
    		{
    			test:       "Server does not require client auth, client provides it",
    			clientCert: clientCert, clientKey: clientKey, clientCA: caCert,
    			serverCert: serverCert, serverKey: serverKey,
    			wantAllowed: true,
    		},
    		{
    			test:       "Client does not trust server",
    			clientCert: clientCert, clientKey: clientKey,
    			serverCert: serverCert, serverKey: serverKey,
    			wantErr: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  4. internal/config/etcd/etcd.go

    	defaultDialKeepAlive = 30 * time.Second
    )
    
    // etcd environment values
    const (
    	Endpoints     = "endpoints"
    	PathPrefix    = "path_prefix"
    	CoreDNSPath   = "coredns_path"
    	ClientCert    = "client_cert"
    	ClientCertKey = "client_cert_key"
    
    	EnvEtcdEndpoints     = "MINIO_ETCD_ENDPOINTS"
    	EnvEtcdPathPrefix    = "MINIO_ETCD_PATH_PREFIX"
    	EnvEtcdCoreDNSPath   = "MINIO_ETCD_COREDNS_PATH"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go

    		}
    	}
    	if tlsConfig.ClientCert == "" {
    		allErrs = append(allErrs, field.Invalid(
    			fldPath.Child("tlsConfig", "clientCert"),
    			"nil",
    			"Using TLS requires clientCert"))
    	} else if exists, err := path.Exists(path.CheckFollowSymlink, tlsConfig.ClientCert); !exists || err != nil {
    		allErrs = append(allErrs, field.Invalid(
    			fldPath.Child("tlsConfig", "clientCert"),
    			tlsConfig.ClientCert,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. helm/minio/templates/secrets.yaml

    type: Opaque
    data:
      rootUser: {{ include "minio.root.username" . | b64enc | quote }}
      rootPassword: {{ include "minio.root.password" . | b64enc | quote }}
      {{- if .Values.etcd.clientCert }}
      etcd_client.crt: {{ .Values.etcd.clientCert | toString | b64enc | quote }}
      {{- end }}
      {{- if .Values.etcd.clientCertKey }}
      etcd_client.key: {{ .Values.etcd.clientCertKey | toString | b64enc | quote }}
      {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 12 04:09:29 UTC 2023
    - 706 bytes
    - Viewed (0)
  7. internal/config/etcd/help.go

    			Description: `shared bucket DNS records` + defaultHelpPostfix(CoreDNSPath),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    			Description: `client cert for mTLS authentication` + defaultHelpPostfix(ClientCert),
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientCertKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 27 03:11:37 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. tests/integration/security/ca_custom_root/main_test.go

    				Protocol:     protocol.HTTPS,
    				ServicePort:  443,
    				WorkloadPort: 8443,
    				TLS:          true,
    			},
    		},
    		TLSSettings: &common.TLSSettings{
    			RootCert:      rootCert,
    			ClientCert:    clientCert,
    			Key:           Key,
    			AcceptAnyALPN: true,
    		},
    	}
    
    	serverNakedBarConfig := echo.Config{
    		Namespace: customNs.Get(),
    		Service:   "server-naked-bar",
    		Subsets: []echo.SubsetConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. internal/config/certs.go

    	}
    	return cert, nil
    }
    
    // EnsureCertAndKey checks if both client certificate and key paths are provided
    func EnsureCertAndKey(clientCert, clientKey string) error {
    	if (clientCert != "" && clientKey == "") ||
    		(clientCert == "" && clientKey != "") {
    		return errors.New("cert and key must be specified as a pair")
    	}
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/event/target/nats.go

    	}
    	if n.CertAuthority != "" {
    		connOpts = append(connOpts, nats.RootCAs(n.CertAuthority))
    	}
    	if n.ClientCert != "" && n.ClientKey != "" {
    		connOpts = append(connOpts, nats.ClientCert(n.ClientCert, n.ClientKey))
    	}
    	return nats.Connect(n.Address.String(), connOpts...)
    }
    
    // To obtain a streaming connection from args.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top