cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

gayu61295
Explorer
0 Likes
841

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

Accepted Solutions (1)

Accepted Solutions (1)

Yogananda
Product and Topic Expert
Product and Topic Expert
0 Likes

@gayu61295 @tongzheng 

You will have to use SAP Cloud Identity Services using Identity Provisioning (IPS) for user sync provisioning process from Source System to Target System(SAP BTP)

gayu61295
Explorer
0 Likes
does this sync help in getting access for space and org members in cockpit or just normal user access for subaccounts
gayu61295
Explorer
0 Likes
we have automated user access but not for space and org members

Answers (1)

Answers (1)

tongzheng
Product and Topic Expert
Product and Topic Expert
0 Likes

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 Likes
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 Likes
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.