SAP BTP Account Members (Neo)

Follow this procedure to set up your SAP Business Technology Platform as a proxy system, from and to which you can provision and write members in your Neo account.

Prerequisites

  • You have created a new Platform API OAuth client, with API Account Member Management and scopes Manage Account Members and Read Account Members.

    Save the Client ID and Client Secret as you'll need them when you configure your proxy system. Make sure you save the client secret as you cannot retrieve it later. For more information, see Create a Platform API Client.

Context

The Identity Provisioning service helps companies to automatically manage the user-to-platform roles assignments for SAP Business Technology Platform subaccounts.

You can use SAP Business Technology Platform as a proxy connector to execute hybrid scenarios. That means, it can provision its entities to another (external) back-end system by request, and then can continue executing CRUD operations back to SAP Business Technology Platform, whenever the external back-end requests such.

The Identity Provisioning service system SAP Business Technology Platform Account Members represents the various authorization mappings managed by the Platform Authorization Management API of SAP BTP as one generic SCIM 2.0 system, with some limitations. For more information, see: Platform Authorization Management API.

Procedure

  1. Open your subaccount in SAP BTP cockpit (valid for OAuth authentication to the Identity Provisioning proxy system).
  2. Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
    • For Certificate-based authentication, follow the procedure in Manage Certificates for Inbound Connection → SAP BTP, Neo Environment

    • For OAuth authentication, proceed as follows:

      1. Go to Start of the navigation pathSecurity Next navigation step OAuth Next navigation step ClientsEnd of the navigation path and choose Register New Client.

      2. From the Subscription combo box, select <provider_subaccount>/ipsproxy.

      3. From the Authorization Grant combo box, select Client Credentials.

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

      5. Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.

      6. From the left-side navigation, choose Start of the navigation pathSubscriptions Next navigation step Java Applications Next navigation step ipsproxyEnd of the navigation path .

      7. From the left-side navigation, choose Start of the navigation pathRoles Next navigation step IPS_PROXY_USEREnd of the navigation path.

      8. Choose Assign and enter oauth_client_<client_ID>.

        For <client_ID>, enter the one you have saved in the previous main step.

  3. Access the Identity Provisioning UI.
  4. Add SAP BTP Account Members (Neo) as a proxy system. For more information, see Add New Systems.
  5. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    URL

    Enter: https://api.<SAP_BTP_host>/authorization/v1/platform/accounts/<SAP_BTP_account>

    Examples:
    • (Europe – Rot) https://api.hana.ondemand.com/authorization/v1/platform/accounts/abc123xyz

    • (Japan – Tokyo) https://api.jp1.hana.ondemand.com/authorization/v1/platform/accounts/abc123xyz

    ProxyType

    Enter: Internet

    Authentication

    Enter: BasicAuthentication

    User

    Enter the Client ID of the new Platform API OAuth client created for the Account Member Management API (see the prerequisites).

    Password

    (Credential) Enter the Client Secret of the new Platform API OAuth client created for the Account Member Management API (see the prerequisites).

    OAuth2TokenServiceURL

    Enter: https://api.<SAP_BTP_host>/oauth2/apitoken/v1

    Examples:

    • (Europe – Rot) https://api.hana.ondemand.com/oauth2/apitoken/v1

    • (US East – Sterling) https://api.us3.hana.ondemand.com/oauth2/apitoken/v1

    scp.user.userbase

    This property specifies the host to the identity provider to be used with this proxy system. All provisioned users can be authenticated only by this identity provider.

    Default value: accounts.sap.com

    If you use another IdP, enter its value as configured in the SAP BTP cockpit. For example: <account_ID>.accounts.ondemand.com

    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.

  6. Configure the transformations.

    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 Account Members 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 proxy system. For more information, see:

    Manage Transformations

    SAP BTP: Authorization Management API

    The SAP BTP Account Members (Neo) proxy connector supports SCIM PATCH operation.

    The read transformation takes the group name from the source system. However, the names of the SAP BTP platform roles sometimes contain characters that do not fit the SCIM URI specification. As Identity Provisioning service cannot directly use these characters as a SCIM resource ID, it needs to first encode them into base32 ASCII format. The intermediate JSON logic of the proxy system will then use the new encoded ID and write it to the target system. That means, the ID will be decoded in the proxy write transformation during the patchEntity operation. For more information, see: Transformation Expressions → patchEntity

    Default read and write transformations:

    Read Transformation

    Write Transformation

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

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.

To see an example with SAP Identity Management, see Hybrid Scenario: SAP Identity Management → sections Next Steps and Future Identity Lifecycle.