Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for clientKey (0.11 sec)

  1. internal/logger/help.go

    			Key:         ClientCert,
    			Description: "mTLS certificate for webhook authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientKey,
    			Description: "mTLS certificate key for webhook authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         BatchSize,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    	if copySource {
    		if crypto.SSECopy.IsRequested(header) {
    			clientKey, err = crypto.SSECopy.ParseHTTP(header)
    			if err != nil {
    				return
    			}
    			if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    				return
    			}
    			opts.ServerSideEncryption = encrypt.SSECopy(sse)
    			return
    		}
    		return
    	}
    
    	if crypto.SSEC.IsRequested(header) {
    		clientKey, err = crypto.SSEC.ParseHTTP(header)
    		if err != nil {
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. internal/event/target/nats_tls_contrib_test.go

    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    		ClientCert:    path.Join("testdata", "contrib", "certs", "nats_client_cert.pem"),
    		ClientKey:     path.Join("testdata", "contrib", "certs", "nats_client_key.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    		},
    		Extensions: make(map[string]string),
    	}, nil
    }
    
    func validateKey(c ssh.ConnMetadata, clientKey ssh.PublicKey) (err error) {
    	if caPublicKey == nil {
    		return errors.New("public key authority validation requested but no ca public key specified.")
    	}
    
    	cert, ok := clientKey.(*ssh.Certificate)
    	if !ok {
    		return errSftpPublicKeyWithoutCert
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. internal/config/notify/legacy.go

    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.WebhookClientCert,
    			Value: cfg.ClientCert,
    		},
    		config.KV{
    			Key:   target.WebhookClientKey,
    			Value: cfg.ClientKey,
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyPostgres - helper for config migration from older config.
    func SetNotifyPostgres(s config.Config, psqName string, cfg target.PostgreSQLArgs) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	UserAgent   string            `json:"userAgent"`
    	Endpoint    *xnet.URL         `json:"endpoint"`
    	AuthToken   string            `json:"authToken"`
    	ClientCert  string            `json:"clientCert"`
    	ClientKey   string            `json:"clientKey"`
    	BatchSize   int               `json:"batchSize"`
    	QueueSize   int               `json:"queueSize"`
    	QueueDir    string            `json:"queueDir"`
    	MaxRetry    int               `json:"maxRetry"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. internal/config/lambda/parse.go

    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			ClientCert: env.Get(clientCertEnv, kv.Get(target.WebhookClientCert)),
    			ClientKey:  env.Get(clientKeyEnv, kv.Get(target.WebhookClientKey)),
    		}
    		if err = webhookArgs.Validate(); err != nil {
    			return nil, err
    		}
    		webhookTargets[k] = webhookArgs
    	}
    	return webhookTargets, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		for n, l := range loggerCfg.HTTP {
    			if l.Enabled {
    				l.LogOnceIf = configLogOnceConsoleIf
    				l.UserAgent = userAgent
    				l.Transport = NewHTTPTransportWithClientCerts(l.ClientCert, l.ClientKey)
    			}
    			loggerCfg.HTTP[n] = l
    		}
    		if errs := logger.UpdateHTTPWebhooks(ctx, loggerCfg.HTTP); len(errs) > 0 {
    			configLogIf(ctx, fmt.Errorf("Unable to update logger webhook config: %v", errs))
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. cmd/utils.go

    		TCPOptions:       globalTCPOptions,
    		EnableHTTP2:      false,
    	}
    
    	if clientCert != "" && clientKey != "" {
    		ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    		defer cancel()
    		transport, err := s.NewHTTPTransportWithClientCerts(ctx, clientCert, clientKey)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. internal/config/notify/parse.go

    			CertAuthority:   env.Get(certAuthorityEnv, kv.Get(target.NATSCertAuthority)),
    			ClientCert:      env.Get(clientCertEnv, kv.Get(target.NATSClientCert)),
    			ClientKey:       env.Get(clientKeyEnv, kv.Get(target.NATSClientKey)),
    			Token:           env.Get(tokenEnv, kv.Get(target.NATSToken)),
    			TLS:             env.Get(tlsEnv, kv.Get(target.NATSTLS)) == config.EnableOn,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top