Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for authn (0.05 sec)

  1. tests/integration/security/authz_test.go

    			fromAndTo := to.Instances().Append(from)
    
    			config.New(t).
    				Source(config.File("testdata/authz/mtls.yaml.tmpl")).
    				Source(config.File("testdata/authz/deny-global.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    				})).
    				Source(config.File("testdata/authz/deny-principal.yaml.tmpl").WithParams(
    					param.Params{
    						"Denied": denied,
    					})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    // Examples using `[]` as a separator:
    // - `@request.auth.claims[admin]` matches the claim "admin".
    // - `@request.auth.claims[group][id]` matches the nested claims "group" and "id".
    func translateMetadataMatch(name string, in *networking.StringMatch, useExtendedJwt bool) *matcher.MetadataMatcher {
    	rc := jwt.ToRoutingClaim(name)
    	if !rc.Match {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	versionedParams runtime.Object,
    	namespace *v1.Namespace,
    	runtimeCELCostBudget int64,
    	authz authorizer.Authorizer,
    ) validating.ValidateResult {
    	return f(
    		ctx,
    		matchResource,
    		versionedAttr,
    		versionedParams,
    		namespace,
    		runtimeCELCostBudget,
    		authz,
    	)
    }
    
    var _ generic.PolicyMatcher = &fakeMatcher{}
    
    func (f *fakeMatcher) ValidateInitialization() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		return updatedAt, errIAMActionNotAllowed
    	}
    
    	uinfo := newUserIdentity(auth.Credentials{
    		AccessKey: accessKey,
    		SecretKey: cred.SecretKey,
    		Status: func() string {
    			switch string(status) {
    			case string(madmin.AccountEnabled), string(auth.AccountOn):
    				return auth.AccountOn
    			}
    			return auth.AccountOff
    		}(),
    	})
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    }
    
    func tlsParamsOrNew(tlsContext *auth.CommonTlsContext) *auth.TlsParameters {
    	if tlsContext.TlsParams == nil {
    		tlsContext.TlsParams = &auth.TlsParameters{}
    	}
    	return tlsContext.TlsParams
    }
    
    // buildSidecarListeners produces a list of listeners for sidecar proxies
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    sasl             (on|off)    set to 'on' to enable SASL authentication
    tls              (on|off)    set to 'on' to enable TLS
    tls_skip_verify  (on|off)    trust server TLS without verification, defaults to "on" (verify)
    client_tls_cert  (path)      path to client certificate for mTLS auth
    client_tls_key   (path)      path to client key for mTLS auth
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. src/net/http/client_test.go

    func testEmptyPasswordAuth(t *testing.T, mode testMode) {
    	gopher := "gopher"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		auth := r.Header.Get("Authorization")
    		if strings.HasPrefix(auth, "Basic ") {
    			encoded := auth[6:]
    			decoded, err := base64.StdEncoding.DecodeString(encoded)
    			if err != nil {
    				t.Fatal(err)
    			}
    			expected := gopher + ":"
    			s := string(decoded)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. hack/local-up-cluster.sh

            sudo cp "${CERT_DIR}/server-ca.key" "${CERT_DIR}/client-ca.key"
            sudo cp "${CERT_DIR}/server-ca.crt" "${CERT_DIR}/client-ca.crt"
            sudo cp "${CERT_DIR}/server-ca-config.json" "${CERT_DIR}/client-ca-config.json"
        else
            kube::util::create_signing_certkey "${CONTROLPLANE_SUDO}" "${CERT_DIR}" server '"server auth"'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	// set to 'true' when testing is invoked
    	globalIsTesting = true
    
    	globalIsCICD = globalIsTesting
    
    	globalActiveCred = auth.Credentials{
    		AccessKey: auth.DefaultAccessKey,
    		SecretKey: auth.DefaultSecretKey,
    	}
    
    	// disable ENVs which interfere with tests.
    	for _, env := range []string{
    		crypto.EnvKMSAutoEncryption,
    		config.EnvAccessKey,
    		config.EnvSecretKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	return nil
    }
    
    func commonAddServiceAccount(r *http.Request) (context.Context, auth.Credentials, newServiceAccountOpts, madmin.AddServiceAccountReq, string, APIError) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top