Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mysecret (0.15 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	// Presign is not needed for anonymous credentials.
    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/common-main.go

    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    		if rootPassword != "" {
    			os.Setenv(config.EnvRootPassword, rootPassword)
    		}
    	}
    
    	if env.IsSet(kms.EnvKMSSecretKeyFile) {
    		kmsSecret, err := readFromSecret(env.Get(kms.EnvKMSSecretKeyFile, ""))
    		if err != nil {
    			logger.Fatal(err, "Unable to read the KMS secret key inherited from secret file")
    		}
    		if kmsSecret != "" {
    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)
  4. cmd/site-replication.go

    	// This is not yet implemented.
    
    	// VALIDATIONS COMPLETE.
    
    	// Create a common service account for all clusters, with root
    	// permissions.
    
    	// Create a local service account.
    
    	// Generate a secret key for the service account if not created already.
    	var secretKey string
    	var svcCred auth.Credentials
    	sa, _, err := globalIAMSys.getServiceAccount(ctx, siteReplicatorSvcAcc)
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. 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)
  6. cmd/iam-store.go

    	if err != nil {
    		secretKey, err := getTokenSigningKey()
    		if err != nil {
    			return nil, err
    		}
    		// Session tokens for STS creds will be generated with root secret or site-replicator-0 secret
    		jwtClaims, err = auth.ExtractClaims(u.Credentials.SessionToken, secretKey)
    		if err != nil {
    			return nil, err
    		}
    	}
    	return jwtClaims, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "The secret key was invalid for the specified algorithm.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSSECustomerKey: {
    		Code:           "InvalidArgument",
    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must provide an appropriate secret key.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/sts-handlers_test.go

    	defer cancel()
    
    	configCmds := []string{
    		"identity_openid",
    		fmt.Sprintf("config_url=%s/.well-known/openid-configuration", serverAddr),
    		"client_id=minio-client-app",
    		"client_secret=minio-client-app-secret",
    		"scopes=openid,groups",
    		"redirect_uri=http://127.0.0.1:10000/oauth_callback",
    	}
    	if rolePolicy != "" {
    		configCmds = append(configCmds, fmt.Sprintf("role_policy=%s", rolePolicy))
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    	if err != nil {
    		return auth.Credentials{}, nil, err
    	}
    	// Hide secret & session keys
    	sa.Credentials.SecretKey = ""
    	sa.Credentials.SessionToken = ""
    	return sa.Credentials, embeddedPolicy, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. cmd/object-handlers.go

    }
    
    // CopyObjectHandler - Copy Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket
    // while reading the object from another source.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    // the handler should ensure to remove these keys before sending them to the object layer.
    // Currently these keys are:
    //   - X-Amz-Server-Side-Encryption-Customer-Key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top