cancel
Showing results for 
Search instead for 
Did you mean: 

how do we automate space & org members access in SAP BTP cockpit(Cloud foundry env)

gayu61295
Explorer
0 Kudos
219

needs options to automate BTP space & org member access either using some tools or in a different way to reduce manual intervention every time.

View Entire Topic
tongzheng
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can use Cloud Foundry CLI to programmatically manage users at Org and Space levels. 

https://help.sap.com/docs/btp/sap-business-technology-platform/add-organization-members-using-cloud-...

https://help.sap.com/docs/btp/sap-business-technology-platform/add-space-members-using-cloud-foundry...

Before users can be added to Org and Space, they need to exist in the Platform Identity Provider on BTP.

Regards,

Tong

gayu61295
Explorer
0 Kudos
Hi Tong, in CLI i could see an option to add one user to one space. Is there an option/cmd to add a user to all the available space at a time?
tongzheng
Product and Topic Expert
Product and Topic Expert
0 Kudos
In CF CLI you can only add one user to one space or org each time but you can write a script to get result from "cf orgs" and "cf spaces" to loop this command on all existing spaces.