Create rancher local admin user

how do i automate the creation of a rancher user in the portal?