https://rancher.com/ logo
Title
s

some-lawyer-90399

07/06/2022, 11:59 PM
hello Ranchers, Is there anyway to grant access to users to specific rancher projects externally using script ?
t

tall-school-18125

07/07/2022, 4:29 AM
The Rancher API is not officially supported. However some users use API calls to automate processes. You would need to first get an API key or bearer token from the rancher user settings. Then open the developer tools in the browser, give the user permission in the Rancher UI, and intercept the network traffic to see what the API call is.
s

some-lawyer-90399

07/07/2022, 4:50 AM
thanks @tall-school-18125 I will try it out.