Follow this procedure to set up the SAP BTP XS Advanced UAA (running on SAP BTP, Cloud Foundry environment) as а proxy system.
Prerequisites
You have created credentials to call the REST APIs of the SAP Authorization and Trust Management service on global account, subaccount, or directory level. For more information, see: Get Access to the APIs and btp create security/api-credential.
Context
You can use Identity Provisioning to configure SAP BTP XS Advanced UAA as a proxy system in hybrid scenarios. For example, when SAP BTP XS Advanced UAA is exposed as a proxy system, you can connect it to an external identity management system, such as SAP Identity Management, without making a direct connection between both systems. Upon provisioning platform users, business users and groups (considered role collections in SAP BTP) to the external backend system, it will trigger CRUD (create, read, update, delete) operations on users back to the SAP BTP XS Advanced UAA.
Create a separate proxy system for each global account, multi-environment subaccount and directory on SAP BTP, and configure the respective credentials and connectivity properties. Depending on where you want to provision your entities, you need to:
Create a proxy system for the global account to provision platform users and groups.
Create a proxy system for the directory to provision platform users and groups.
Create a proxy system for the subaccount to provision platform users, business users and groups.
Procedure
Open your subaccount in SAP BTP cockpit (valid for OAuth authentication to the Identity Provisioning proxy system).
Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
Go to SecurityOAuthClients and choose Register New Client.
From the Subscription combo box, select <provider_subaccount>/ipsproxy.
From the Authorization Grant combo box, select Client Credentials.
In the Secret field, enter a password (client secret) and remember it. You will need it later, for the repository configuration in the external system.
Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.
From the left-side navigation, choose SubscriptionsJava Applicationsipsproxy .
From the left-side navigation, choose RolesIPS_PROXY_USER.
Choose Assign and enter oauth_client_<client_ID>.
For <client_ID>, enter the one you have saved in the previous main step.
(Credential) Enter the respective OAuth client secret that was generated when you created credentials for each global account, subaccount and directory.
In the SAP BTP cockpit, go to your global account (see Navigate in the Cockpit), choose SecurityTrust Configuration and copy the Origin Key value used for platform users. This origin key always ends with -platform.
Identity provider for business users:
In the SAP BTP cockpit, go to your subaccount (see Navigate in the Cockpit), choose SecurityTrust Configuration and copy the Origin Key value used for business (application) users. For example: sap.custom
This flag property depends on xsuaa.origin. Possible values: true or false
If set to true, the Identity Provisioning service will read only users whose identity provider is set as a value of xsuaa.origin.
If set to false, the Identity Provisioning service will read all users, regardless of their origin.
If set to true but the xsuaa.origin property is missing, the provisioning will fail.
scim.support.patch.operation
Use this property if you want to modify the members of a group.
Possible values:
true – the Identity Provisioning service will modify the group membership via the PATCH /Groups endpoint of UAA. To learn how, see Patch
false – the Identity Provisioning service will modify the group membership via the POST /Groups or DELETE /Groups endpoints of UAA. To learn how, see Add Member and Remove Member.
xsuaa.patch.response.with.resource
Use this property if you want to retrieve a group whose membership was modified.
Possible values:
true – the Identity Provisioning service will return the modified group via the GET /Groups endpoint of UAA. To learn how, see Retrieve.
false – no modified groups will be returned by the service.
To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.
Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SAP BTP XS Advanced UAA proxy system, whose settings are displayed under the Transformations tab after saving its initial configuration.
You can change the default transformation mapping rules to reflect your current setup of entities in your SAP BTP XS Advanced UAA system. For more information, see Manage Transformations and the API documentation.
Connect the external consumer to Identity Provisioning with the technical user you have created in step 2.
If the external consumer system is SAP Identity Management, you can export the newly created proxy system as a SCIM repository from Identity Provisioning and import it in SAP Identity Management. This will create a SCIM repository in SAP Identity Management where most of the repository constants will be automatically filled in. You need to provide the technical user credentials that you have set up in step 2 and the SCIM assignment method as described below:
For AUTH_USER and AUTH_PASSWORD, enter your client ID and secret.
For the SCIM_ASSIGNMENT_METHOD constant, make sure the value is PUT.
Next Steps
When a proxy system is connected to an external backend system (in the case of SAP Identity Management this means the exported CSV file is imported into the Identity Management Admin UI and a repository is configured), you can start managing the users and groups into this external system. Usually, the first operation is the initial load of the existing entities into your external system. When this load has finished, changes in the external system, such as creating new users or updating existing ones, can trigger CRUD requests back to the proxy system.