How to add user to rancher ENV using command line?

Hey Guys,

We are trying to bring rancher ENV along with kubernetes setup and deploy the application in one shot using jenkins job or say from command line.

Right now we are able to create rancher ENV and able to setup kubernetes using rancher CLI ( aws auto-scaling + rancher cli + aws cli ). However, since exiting rancher user won’t be having permission on this dynamically created rancher ENV, we need to know if that is possible via rancher CLI? So we can have permission to deploy application in kubernetes environment.

Please suggest!