SAP BTP Platform Members (Cloud Foundry)

Follow this procedure to set up a SAP BTP Platform Members (Cloud Foundry) as а target system.

Prerequisites

  • You have a global account in SAP BTP with at least one multi-environment subaccount with enabled Cloud Foundry environment.

  • You have added SAP BTP Platform Members (Cloud Foundry) as a source system for the same Cloud Foundry landscape and executed successfully a read job, typically to the Identity Directory of the SAP Cloud Identity Services tenant that is established as a trusted custom identity provider.

    This is required to preserve the specific group naming convention (see the defined name pattern below) used by SAP BTP Platform Members (Cloud Foundry). Reading groups from this source into the Identity Directory, assigning users to the groups, and synchronizing the assignments back to SAP BTP Platform Members (Cloud Foundry) ensures the correct provisioning of user group assignments. For more information, see SAP BTP Platform Members (Cloud Foundry) source system.

Context

The Cloud Foundry environment enables you to create polyglot cloud applications in Cloud Foundry. It contains the SAP BTP, Cloud Foundry runtime service, which is based on the open-source application platform managed by the Cloud Foundry Foundation. For more information, see Cloud Foundry Environment.

When you enable the Cloud Foundry environment in your subaccount, the system automatically creates a Cloud Foundry organization for you. You are able to add platform users as org members and space members and assign roles to grant these users platform access. For more information, see Valid role typesInformation published on non-SAP site.

SAP BTP Platform Members (Cloud Foundry) connector manages org and space members, as well as their role assignments, in the Cloud Foundry environment of a multi-environment subaccount, where a single SAP Cloud Identity Services tenant acts as custom identity provider. We recommend that you use the Identity Provisioning service enabled in this SAP Cloud Identity Services tenant.

In SAP BTP Platform Members (Cloud Foundry), groups correspond to roles in particular Cloud Foundry orgs or spaces, thus group members are user assignments of a role in a specific Cloud Foundry org or space. Group names must follow a defined pattern, explained below, to ensure the correct mapping and provisioning of users and their role assignments to the relevant Cloud Foundry organization or space.

The target system consumes User Account and Authentication API and Cloud Foundry V3 API provided by Cloud Foundry.

Follow the steps below to create SAP BTP Platform Members (Cloud Foundry) as a target system to provision users and user role assignments.

Procedure

  1. To enable provisioning of platform users and user role assignments to and from Cloud Foundry environment, create a Support Ticket on component BC-CP-CF-SEC-IAM.

    Specify your SAP Cloud Identity Services tenant ID and the origin key of the trust configuration for BTP platform users which points to your SAP Cloud Identity Services tenant. You can find the origin key value in the SAP BTP cockpit. Go to your SAP BTP subaccount, choose Trust Configuration and see the value under Origin Key for the relevant Custom Identity Provider for Platform Users.

  2. Access the Identity Provisioning UI.
  3. Add SAP BTP Platform Members (Cloud Foundry) as a target system. For more information, see Add New Systems.
  4. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    ProxyType

    Enter: Internet

    Authentication

    Enter: BasicAuthentication

    User

    Enter the email of the CF provisioning user (see Prerequisites).

    Password

    (Credential) Enter the password for the CF provisioning user (see Prerequisites).

    btp.cf.pm.origin

    Enter the origin key of your SAP Cloud Identity Services tenant (see Step 1).

    The value of this property is a string, which always ends with the suffix -platform.

    It will be used as the origin attribute in the system transformation.

    btp.cf.pm.landscape

    Enter the technical key or the host name of the landscape in which your multi-environment subaccount with enabled Cloud Foundry environment is located.

    The technical key is available only for the SAP BTP Cloud Foundry regions.

    For more information, see Regions and API Endpoints Available for the Cloud Foundry Environment.

    Please note that when the technical key contains an extension index, the correct value is displayed in the API Endpoint column instead of the Technical Key column of the table.

    This is an example of a technical key: cf-eu10-002, corresponding to the API endpoint api.cf.eu10-002.hana.ondemand.com and host name cf.eu10-002.hana.ondemand.com

    The host name of the landscape can be found by looking up the API Endpoint field in the Overview tab of your Cloud Foundry Environment on subaccount level of the SAP BTP cockpit.

    The API endpoint has the following format: https://api.<landscape-hostname>

    (Optional) btp.cf.pm.group.prefix

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

    Example value: BTP_CF_PM_

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

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

    (Optional) ips.delete.threshold.groups

    Use this property to control the number of groups to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of groups, for example by adding a filter or condition.

    For more information, see: List of Properties

    (Optional) ips.delete.threshold.users

    Use this property to control the number of users to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of users, for example by adding a filter or condition.

    For more information, see: List of Properties

    (Optional) ips.trace.failed.entity.content

    If a provisioning job repeatedly fails and you need problem investigation, you can enable logging and tracing for the personal and sensitive data of your provisioned entities. To do this, set this property to true. For more information, see List of Properties.

    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.

  5. (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 Platform Members (Cloud Foundry) target 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 Platform Members (Cloud Foundry) system. For more information, see:

    Manage Transformations

    Cloud Foundry V3 APIInformation published on non-SAP site

    • Mapping logic – The behavior of the default transformation logic is to map all attributes from the internal SCIM representation to the SAP BTP Platform Members (Cloud Foundry) target attributes.

    • User offboarding – If a user has been deleted from the source system, this change is recognized, and the user is deleted from the SAP BTP Platform Members (Cloud Foundry) target system too.

    Default transformation:

  6. Now, add a source system from which to read users and user role assignments. For example: Identity Authentication

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.