SAP HANA Cloud Database Services

Follow this procedure to set up SAP HANA Cloud Database Services as a target system.

Prerequisites

You have created a technical user for Identity Provisioning in the SAP HANA database with the OPERATOR and ROLE ADMIN system privileges. For more information, see SAP Identity Provisioning Service → Prerequisites.

Context

SAP HANA Cloud allows you to consume the SAP HANA database from cloud applications running on SAP Business Technology Platform, as well as from applications running elsewhere using the standard SAP HANA clients. Every instance of SAP HANA Cloud has its own single SAP HANA database.

You can use the Identity Provisioning user interface (UI) to configure SAP HANA Cloud Database Services as a target system where you can provision users and group members, that is, user assignments for a role.

The SAP HANA Cloud Database Services connector supports provisioning of entities to the following two database types:

  • SAP HANA Database (HDB)

  • SAP HANA Data Lake Relational Engine (HDLRE / IQ Database)

You can define the target database type by setting the hana.cloud.db.instance.type property to either hdb or hdlre.

For more information on the supported database types, see SAP HANA Cloud, SAP HANA Database and SAP HANA Cloud, Data Lake.

Review the expected behavior in the following scenarios:

  • If a new group is created in the source system (for example, Identity Authentication) and you run the provisioning job to SAP HANA Cloud Database Services, the job will fail and no role will be created in the target system.

  • If a group in the source system (Identity Authentication) and a role in the target system (SAP HANA Cloud Database Services) exist, when running a provisioning job, the user group assignments from the source will be mapped to the user role assignments in the target, provided that the group and role names are identical.

    If the names do not match, the job will fail, and no role assignments will be updated. You have the following options to handle these discrepancies: use the valueMappings expression to change the group names, as described in Transformation Expressions, or dynamically assign users to groups in SAP HANA Cloud Database Services, as described in Enabling Group Assignment.

  • If a role exists in the target SAP HANA Cloud Database Services system and you try to delete it, Identity Provisioning will only remove the existing user assignments for that role.

Procedure

  1. Access the Identity Provisioning UI.
  2. Add SAP HANA Cloud Database Services as a target system. For more information, see Add New Systems.
  3. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Value

    Authentication

    Enter: BasicAuthentication

    OAuth2TokenServiceURL

    Enter the OAuth 2.0 Token Service URL.

    For example: https://demo-hc-3-test.authentication.sap.hana.ondemand.com/oauth/token

    For more information on how to obtain the value, refer to the create a service binding step in the User Provisioning with Identity Provisioning Service.

    hana.cloud.db.instance.type

    Refers to the database type configured or used within SAP HANA Cloud.

    The value can be set to:
    • hdb - SAP HANA Database

    • hdlre - SAP HANA Data Lake Relational Engine

    Default value: hdb

    hana.cloud.db.instance.id

    Refers to a unique identifier associated with a specific database instance within the SAP HANA Cloud.

    hana.cloud.db.providerName

    Specifies the identity provider (IdP) that users managed through Identity Provisioning will use for authentication.

    The provider must be configured to support the authentication method specified in hana.cloud.db.authenticationType.

    For more information on how to obtain the value, refer to the create a JWT provider step in the User Provisioning with Identity Provisioning Service.

    hana.cloud.db.authenticationType

    Specifies the method by which users managed through Identity Provisioning authenticate when connecting to the database.

    The authentication method is set to JWT (users authenticate via JWT tokens issued by an identity provider) during system creation.

    hana.cloud.db.group.prefix

    (Optional) This property distinguishes SAP HANA Cloud Database Services roles by specific prefix. It is an optional property which does not appear by default at system creation.

    Example value: HANA_Cloud_DB_

    You can use the example value or provide your own.

    • When set in the source system, the prefix will be prepended to the name of the roles that are read from the SAP HANA Cloud Database Services source system and will be provisioned to the target system with the following name pattern: HANA_Cloud_DB_<role_name>. This way SAP HANA Cloud Database Services roles in the target system will be distinguished from roles provisioned from other applications.

      If the property is not set, the SAP HANA Cloud Database Services roles will be read and provisioned to the target system with their actual names.

    • When set in the target system, only roles containing the HANA_Cloud_DB_ prefix in their role name will be provisioned to SAP HANA Cloud Database Services. Roles without this prefix in the role name won't be provisioned.

      If the property is not set, all roles will be be provisioned to SAP HANA Cloud Database Services.

    hana.cloud.db.user.unique.attribute

    This property defines by which unique attribute(s) an existing user in the target system will be searched and resolved in case Identity Provisioning tries to provision a conflicting user.

    Default value: userName

    ips.delete.threshold.roles

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

    For more information, see: List of Properties

    ips.delete.threshold.users

    (Optional) 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

    Password

    (Credential) Enter the OAuth Client Secret, created for your SAP HANA Database system.

    For more information on how to obtain the value for the technical user, refer to the procedure in the User Provisioning with Identity Provisioning Service.

    ProxyType

    Enter: Internet

    Type

    Enter: HTTP

    URL

    Enter the SAP HANA Cloud Database Services API URL.

    For example: https://api.gateway.orchestration.<cluster>-<datacenter>.hanacloud.ondemand.com

    User

    Enter the OAuth Client Id, created for your SAP HANA Database system.

    For more information on how to obtain the value for the technical user, refer to the procedure in the User Provisioning with Identity Provisioning 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.

  4. 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 HANA Cloud Database Services 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 HANA Cloud Database Services system. For more information, see:

    Manage Transformations.

    Default transformation:

  5. Add a source system from which to read users and user assignments for a role. Choose from: Source 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.