Skip to content

Latest commit

 

History

History
265 lines (167 loc) · 6.22 KB

creating-a-service-instance-and-a-service-key-f449560.md

File metadata and controls

265 lines (167 loc) · 6.22 KB

Creating a Service Instance and a Service Key

Follow these steps to enable the usage of SAP Cloud Transport Management service using programmatic access (using API Remote Call).

Create a service instance in the Cloud Foundry environment. You can then create a service key to communicate directly with the service instance.

Step

Action

More Information

In the Cloud Foundry organization, create a space and assign the space roles to your user.

  1. On the Overview page of your subaccount, in the Cloud Foundry org, you have a Spaces table. Choose Create Space.
  2. Choose a name and leave the default space roles selected.
  3. Choose Create.

Create Spaces

Optional: If you want to limit the resource usage of your space, create a quota plan for the space.

  1. In your subaccount, choose Cloud Foundry > Quota Plans > New Plan.

  2. Enter a name, and at least 1 service that you want to use for the SAP Cloud Transport Management instance. Choose Save.

  3. To assign the quota plan to your space, under Plan Assignment, choose the quota plan from the dropdown list of the created space.

Assign Quota Plans to Spaces

In the space, create a service instance of SAP Cloud Transport Management.

  1. In your subaccount, choose Services > Instances and Subscriptions.

  2. Choose Create.

  3. In the wizard, select the following values:

    Field

    Value

    Service

    Select Cloud Transport Management.

    Plan

    Select one of the available plans of type Instance that are displayed depending on the entitlements that you previously added to the subaccount. For more information, see Configuring Entitlements to SAP Cloud Transport Management.

    Note:

    Make sure that you select the plan of type Instance. After you've selected the plan, you no longer see Instance. Only standard is displayed in the Plan field.

    In the following screenshot, the standard plan of type Instance is selected.

  4. The following fields are now available for input. Select or enter values for them.

    Field

    Value

    Runtime Environment

    Select Cloud Foundry.

    Space

    Select the space that you created previously (in Step 1).

    Instance Name

    Enter a name for the new service instance.

    The following screenshot provides sample values.

  5. Choose Create.

    Note:

    If you choose Next, the Parameters step opens. SAP Cloud Transport Management doesn't support the upload of initial JSON parameters. You can skip this step. To continue creating the instance, choose Create.

  6. If you've added entitlements for multiple service instances, repeat the steps for the additional instances.

Creating Service Instances In Cloud Foundry

Create a service key based on the service instance for SAP Cloud Transport Management.

  1. In your subaccount, choose Services > Instances and Subscriptions.

  2. On the Instances tab, in the row of the instance that you created, select the (Actions) menu, and choose Create Service Key.

  3. Enter a name for the service key, and choose Create.

    The service key has the following format:

    Output Code:

    {
        "uaa": {
            "clientid": "sb-xxxxxx",
            "clientsecret": "xxxxxx",
            "url": "https://<domain>.authentication.sap.hana.ondemand.com",
            ...
    
        },
        "uri": "https://transport-service-app-backend.ts.cfapps.sap.hana.ondemand.com"
    }
    
    

Note:

The connection details are used later to configure destinations in your cloud subaccount to SAP Cloud Transport Management.

For more information about how to configure the destinations, see Create Destinations to SAP Cloud Transport Management Service.

Creating Service Keys in Cloud Foundry

You can now configure the landscape and use SAP Cloud Transport Management directly in other applications, such as SAP Cloud Integration. For more information, see Configuring the Landscape.