Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for sectre (0.24 sec)

  1. cmd/bucket-replication-stats.go

    	Endpoint         string
    	Secure           bool
    	Err              error
    }
    
    func (rs *replStat) endpoint() string {
    	scheme := "http"
    	if rs.Secure {
    		scheme = "https"
    	}
    	return scheme + "://" + rs.Endpoint
    }
    
    func (rs *replStat) set(arn string, n int64, duration time.Duration, status replication.StatusType, opType replication.Type, endpoint string, secure bool, err error) {
    	rs.Endpoint = endpoint
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    		sa.Secrets = append(sa.Secrets, v1.ObjectReference{
    			Name:      secret,
    			Namespace: testNamespace,
    		})
    	}
    
    	return sa
    }
    
    func makeSecret(name, caData, token string) *v1.Secret {
    	out := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        name,
    			Namespace:   testNamespace,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    	EnvAPITransitionWorkers           = "MINIO_API_TRANSITION_WORKERS"
    	EnvAPIListQuorum                  = "MINIO_API_LIST_QUORUM"
    	EnvAPISecureCiphers               = "MINIO_API_SECURE_CIPHERS" // default config.EnableOn
    	EnvAPIReplicationPriority         = "MINIO_API_REPLICATION_PRIORITY"
    	EnvAPIReplicationMaxWorkers       = "MINIO_API_REPLICATION_MAX_WORKERS"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  4. istioctl/pkg/workload/workload_test.go

    					Data: map[string]string{
    						"mesh": string(util.ReadFile(t, path.Join(testdir, "meshconfig.yaml"))),
    					},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().Secrets("bar").Create(context.Background(), &v1.Secret{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "test"},
    					Data: map[string][]byte{
    						"token": {},
    					},
    				}, metav1.CreateOptions{})
    			}
    
    			cmdWithClusterID := []string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    	return saName + "-istio-remote-secret-token"
    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. cmd/common-main.go

    		os.Setenv("CONSOLE_SECURE_CONTENT_SECURITY_POLICY", valueSCP)
    	}
    
    	if hstsSeconds := globalBrowserConfig.GetHSTSSeconds(); hstsSeconds > 0 {
    		isubdom := globalBrowserConfig.IsHSTSIncludeSubdomains()
    		isprel := globalBrowserConfig.IsHSTSPreload()
    		os.Setenv("CONSOLE_SECURE_STS_SECONDS", strconv.Itoa(hstsSeconds))
    		os.Setenv("CONSOLE_SECURE_STS_INCLUDE_SUB_DOMAINS", isubdom)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/sts-datatypes.go

    	// The identifiers for the temporary security credentials that the operation
    	// returns.
    	AssumedRoleUser AssumedRoleUser `xml:",omitempty"`
    
    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		}
    
    		sKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root secret key"))
    		if err != nil {
    			// Here, we must have permission. Otherwise, we would have failed earlier.
    			logger.Fatal(err, "Unable to generate root secret key using KMS")
    		}
    
    		accessKey, err := auth.GenerateAccessKey(20, bytes.NewReader(aKey))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    	if !compareSignatureV2(v2Auth, expectedAuth) {
    		return ErrSignatureDoesNotMatch
    	}
    	return ErrNone
    }
    
    func calculateSignatureV2(stringToSign string, secret string) string {
    	hm := hmac.New(sha1.New, []byte(secret))
    	hm.Write([]byte(stringToSign))
    	return base64.StdEncoding.EncodeToString(hm.Sum(nil))
    }
    
    // Return signature-v2 for the presigned request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    					// credentials update is possible only in bucket replication. User will never
    					// know the site replicator creds.
    					tgt.Credentials = target.Credentials
    					tgt.TargetBucket = target.TargetBucket
    					tgt.Secure = target.Secure
    					tgt.Endpoint = target.Endpoint
    				}
    			case madmin.SyncUpdateType:
    				tgt.ReplicationSync = target.ReplicationSync
    			case madmin.ProxyUpdateType:
    				tgt.DisableProxy = target.DisableProxy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top