Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateUser (0.61 sec)

  1. docs/multi-user/admin/README.md

    - Install MinIO - [MinIO Quickstart Guide](https://docs.min.io/community/minio-object-store/operations/deployments/baremetal-deploy-minio-on-redhat-linux.html)
    
    ### 2. Create a new admin user with CreateUser, DeleteUser and ConfigUpdate permissions
    
    Use [`mc admin policy`](https://docs.min.io/community/minio-object-store/reference/minio-mc-admin/mc-admin-policy.html#command-mc.admin.policy) to create custom admin policies.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CreateUser - create new user credentials and policy, if user already exists
    // they shall be rewritten with new inputs.
    func (sys *IAMSys) CreateUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	if globalIAMSys.LDAPConfig.Enabled() {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    		return
    	}
    
    	updatedAt, err := globalIAMSys.CreateUser(ctx, accessKey, ureq)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			// (both sites must have LDAP disabled).
    			if globalIAMSys.LDAPConfig.Enabled() {
    				err = errIAMActionNotAllowed
    			} else {
    				_, err = globalIAMSys.CreateUser(ctx, change.AccessKey, userReq)
    			}
    		}
    	}
    	if err != nil {
    		return wrapSRErr(err)
    	}
    	return nil
    }
    
    // PeerGroupInfoChangeHandler - copies group changes to local.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
Back to top