SAP BTP XS Advanced UAA (Cloud Foundry)

Follow this procedure to set up the SAP BTP XS Advanced UAA (running on SAP BTP, Cloud Foundry environment) as а source 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

The SAP BTP XS Advanced UAA connector enables you to read platform users, business users, groups and group assignments from the local user stores of global accounts, directories, and multi-environment subaccounts on SAP BTP. These users and groups (considered role collections in SAP BTP), can then be provisioned to target systems of your choice.

Create a separate source system for each global account, subaccount and directory, and configure the respective credentials and connectivity properties. Depending from where you want to read your entities, you need to:

  • Create a source system for the global account to provision platform users and groups.

  • Create a source system for the directory to provision platform users and groups.

  • Create a source system for the subaccount to provision platform users, business users and groups.

Follow the steps below to create SAP BTP XS Advanced UAA as a source system to read SAP BTP users and groups from global accounts, directories, and multi-environment subaccounts on SAP BTP.

Procedure

  1. Access the Identity Provisioning UI.
  2. Add SAP BTP XS Advanced UAA (Cloud Foundry) as a source system. For more information, see Add New Systems.
  3. Choose the Properties tab to configure the connection settings for your system.

    Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    URL

    Enter the API URL in the following format:

    https://api.authentication.<region>.hana.ondemand.com or

    For more information, see Call an API.

    ProxyType

    Enter: Internet

    Authentication

    Enter: BasicAuthentication

    OAuth2TokenServiceURL

    Enter the URL to the OAuth2 token service in the following format:

    • https://<global_account_subdomain>.authentication.<region>.hana.ondemand.com/oauth/token or

    • https://<subaccount_subdomain>.authentication.<region>.hana.ondemand.com/oauth/token or

    • https://<directory_subdomain>.authentication.<region>.hana.ondemand.com/oauth/token or

    For more information, see Call an API.

    User

    Enter the respective OAuth client ID that was generated when you created credentials for each global account, subaccount and directory.

    For more information, see Get Access to the APIs.

    Password

    (Credential) Enter the respective OAuth client secret that was generated when you created credentials for each global account, subaccount and directory.

    For more information, see Get Access to the APIs.

    xsuaa.origin.filter.enabled

    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 job will fail.

    xsuaa.origin

    Enter the Origin Key of your identity provider. This is needed only when the xsuaa.origin.filter.enabled property is set to true.

    • Identity provider for platform users:

      In the SAP BTP cockpit, go to your global account (see Navigate in the Cockpit), choose Start of the navigation pathSecurity Next navigation step Trust ConfigurationEnd of the navigation path 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 Start of the navigation pathSecurity Next navigation step Trust ConfigurationEnd of the navigation path and copy the Origin Key value used for business (application) users. For example: sap.custom

    xsuaa.group.prefix

    This property distinguishes SAP BTP XS Advanced UAA (Cloud Foundry) groups by specific prefix. It is an optional property which does not appear by default at system creation.

    Example value: XSUAA_

    You can use the example value or provide your own.

    When set in the target system, only groups containing the XSUAA_ prefix in their display name will be provisioned to SAP BTP XS Advanced UAA (Cloud Foundry). Groups without this prefix in the display name won't be provisioned.

    If the property is not set, all groups will be be provisioned to SAP BTP XS Advanced UAA (Cloud Foundry).

    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.

    Exemplary destination:

    Type=HTTP

    Authentication=BasicAuthentication

    ProxyType=Internet

    URL=https://api.authentication.eu10.hana.ondemand.com

    OAuth2TokenServiceURL=https://myaccount.authentication.eu10.hana.ondemand.com/oauth/token

    User=sb-full-access!a76125

    Password=************

    xsuaa.origin=sap.custom

    xsuaa.origin.filter.enabled=true

  4. (Optional) 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 Advanced UAA source system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    • Mapping logic – The behavior of the default transformation logic is to map all attributes from an SAP BTP XS Advanced UAA entity to the intermediate Identity Provisioning representation.

    • User offboarding – If a user or group has been deleted from the SAP BTP XS Advanced UAA, this change is recognized and the user/group is deleted in the target system too.

    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.

    Default transformation:

  5. Add a target system to which to provision users and groups into it. Choose from: Target Systems

Next Steps

  • Before starting a provisioning job, you can first subscribe for e-mail notifications from the source system you use in your scenario. This way, you will be notified by e-mail about eventual failed entities during the jobs. For more information, see Manage Job Notifications.

  • Start an identity provisioning job. For more information, see Monitor Provisioning Job Logs.