Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for PolicyName (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/sts-handlers.go

    		return
    	}
    
    	_, policyName, err := globalIAMSys.GetRolePolicy(roleArnStr)
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSAccessDenied, err)
    		return
    	}
    
    	if newGlobalAuthZPluginFn() == nil { // if authZ is not set - we expect the policyname to be present.
    		if globalIAMSys.CurrentPolicies(policyName) == "" {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  2. cmd/iam-object-store.go

    	g := errgroup.WithNErrs(len(policies))
    
    	for index := range policies {
    		g.Go(func() error {
    			policyName := path.Dir(policies[index])
    			policyDoc, err := iamOS.loadPolicy(ctx, policyName)
    			if err != nil && !errors.Is(err, errNoSuchPolicy) {
    				return fmt.Errorf("unable to load the policy doc `%s`: %w", policyName, err)
    			}
    			policyDocs[index] = policyDoc
    			return nil
    		}, index)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  3. cmd/admin-handlers-users.go

    				return
    			}
    			for policyName, policy := range allPolicies {
    				if policy.IsEmpty() {
    					err = globalIAMSys.DeletePolicy(ctx, policyName, true)
    					removed.Policies = append(removed.Policies, policyName)
    				} else {
    					_, err = globalIAMSys.SetPolicy(ctx, policyName, policy)
    					added.Policies = append(added.Policies, policyName)
    				}
    				if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  4. cmd/peer-rest-client.go

    func (client *peerRESTClient) DeletePolicy(ctx context.Context, policyName string) (err error) {
    	_, err = deletePolicyRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    func (client *peerRESTClient) LoadPolicy(ctx context.Context, policyName string) (err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  6. cmd/ftp-server-driver.go

    			cred.ParentUser = lookupResult.NormDN
    
    			// 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, "")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  8. internal/config/identity/openid/openid.go

    			p.DiscoveryDoc.ScopesSupported = scopes
    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. cmd/admin-handlers-users_test.go

    	}
    	req, err := http.NewRequestWithContext(ctx, http.MethodPut, u.String(), nil)
    	if err != nil {
    		c.Fatalf("unexpected new request err: %v", err)
    	}
    	reqBodyArg := madmin.UserInfo{
    		SecretKey:  secretKey,
    		PolicyName: "consoleAdmin",
    		Status:     madmin.AccountEnabled,
    	}
    	buf, err := json.Marshal(reqBodyArg)
    	if err != nil {
    		c.Fatalf("unexpected json encode err: %v", err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
Back to Top