Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for policy_name (0.25 sec)

  1. cmd/kms-handlers.go

    		return
    	}
    	writeSuccessResponseJSON(w, i)
    }
    
    type describeSelfIdentityResponse struct {
    	Policy     *kes.Policy `json:"policy"`
    	PolicyName string      `json:"policyName"`
    	Identity   string      `json:"identity"`
    	IsAdmin    bool        `json:"isAdmin"`
    	CreatedAt  time.Time   `json:"createdAt"`
    	CreatedBy  string      `json:"createdBy"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    			return err
    		}
    	}
    	return nil
    }
    
    func (ies *IAMEtcdStore) savePolicyDoc(ctx context.Context, policyName string, p PolicyDoc) error {
    	return ies.saveIAMConfig(ctx, &p, getPolicyDocPath(policyName))
    }
    
    func (ies *IAMEtcdStore) saveMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, mp MappedPolicy, opts ...options) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. cmd/notification.go

    func (sys *NotificationSys) DeletePolicy(policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(GlobalContext, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		// Set user or group policy
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy").
    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    			Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}")
    
    		// Attach/Detach policies to/from user or group
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    			cred.ParentUser = targetUser
    
    			// Set this value to LDAP groups, LDAP user can be part
    			// of large number of groups
    			cred.Groups = targetGroups
    
    			// Set the newly generated credentials, policyName is empty on purpose
    			// LDAP policies are applied automatically using their ldapUser, ldapGroups
    			// mapping.
    			updatedAt, err := globalIAMSys.SetTempUser(context.Background(), cred.AccessKey, cred, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    message ValidatingAdmissionPolicyBindingSpec {
      // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.
      // If the referenced resource does not exist, this binding is considered invalid and will be ignored
      // Required.
      optional string policyName = 1;
    
      // ParamRef specifies the parameter resource used to configure the admission control policy.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  7. cmd/sftp-server-driver.go

    			cred.ParentUser = targetUser
    
    			// Set this value to LDAP groups, LDAP user can be part
    			// of large number of groups
    			cred.Groups = targetGroups
    
    			// Set the newly generated credentials, policyName is empty on purpose
    			// LDAP policies are applied automatically using their ldapUser, ldapGroups
    			// mapping.
    			updatedAt, err := globalIAMSys.SetTempUser(context.Background(), cred.AccessKey, cred, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    sleep 10
    
    # Test whether policy detach replicated to minio1
    policy=$(./mc admin user info minio1 foobarx --json | jq -r .policyName)
    if [ "${policy}" != "null" ]; then
    	echo "expected policy detach to have replicated, exiting..."
    	exit_1
    fi
    
    kill -9 ${site1_pid1} ${site1_pid2}
    
    # Update tag on minio2/newbucket when minio1 is down
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    // causes the named policy to be deleted.
    func (c *SiteReplicationSys) PeerAddPolicyHandler(ctx context.Context, policyName string, p *policy.Policy, updatedAt time.Time) error {
    	var err error
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if p, err := globalIAMSys.store.GetPolicyDoc(policyName); err == nil && p.UpdateDate.After(updatedAt) {
    			return nil
    		}
    	}
    	if p == nil {
    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)
  10. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("list users should not fail: %v", err)
    	}
    	if len(usersList) != 1 {
    		c.Fatalf("expected user listing output: %v", usersList)
    	}
    	uinfo := usersList[userDN]
    	if uinfo.PolicyName != policy || uinfo.Status != madmin.AccountEnabled {
    		c.Fatalf("expected user listing content: %v", uinfo)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    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)
Back to top