Skip to content

Latest commit

 

History

History
244 lines (145 loc) · 8.17 KB

File metadata and controls

244 lines (145 loc) · 8.17 KB

Creating Destinations Using SAP Cloud Deployment Service with Basic Authentication

To address the target end point of the deployment process of MTA Deployment on Cloud Foundry, you can create a destination to SAP Cloud Deployment service with classic Basic authentication.

  1. In SAP BTP Cockpit of your subaccount, choose Connectivity > Destinations.

  2. In the Destinations editor, choose Create > From Scratch > Create.

  3. Enter or select the following values:

    MTA Deployment on Cloud Foundry with Classic Basic Authentication

    Field

    Description

    More Information

    Name

    Name of the destination

    SAP BTP, Cloud Foundry: Using the Destinations Editor in the Cockpit

    Type

    HTTP

    Description

    The description of the destination is optional.

    Proxy Type

    Internet

    URL

    Specify the URL to the SAP Cloud Deployment service as the deploy end point of the destination. To address the SAP Cloud Deployment service, you have the following options:

    • Using the names of your org and space

      https://deploy-service.cf.<domain>/slprot/<myorg>/<myspace>/slp

      • <domain>: Domain of your target subaccount

        The domain is derived from the Cloud Foundry API endpoint that you can find in the SAP BTP Cockpit in the Overview of your subaccount.

      • <myorg>/<myspace>: Names of your org and space

        Note:

        You need to escape special characters in your org and space name (<myorg>/<myspace>) with a proper URL encoding. For example, replace space characters with %20, and commas with %2C.

      Example:

      • Sample URL for the Cloud Foundry API endpoint: api.cf.eu10-004.hana.ondemand.com, <myorg>: TestOrg, and <myspace>: TestSpace:

        https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/TestOrg/TestSpace/slp

      • Sample URL with URL encoding for <myorg>: Example Company Test Org and <myspace>: Example Company Test Space:

        https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/Example%20Company%20Test%20Org/Example%20Company%20Test%20Space/slp

    • Using the GUID of your space

      https://deploy-service.cf.<domain>/slprot/<my-space-guid>/slp

      • <domain>: Domain of your subaccount

        The domain is derived from the Cloud Foundry API endpoint that you can find in the SAP BTP Cockpit in the Overview of your subaccount.

      • <my-space-guid>: GUID of your space

        To retrieve the GUID of your space, use the Cloud Foundry Command Line Interface (cf CLI). Log on to your org, and execute the following command: cf space <my-space-name> --guid.

      Example:

      Sample URL for the Cloud Foundry API endpoint: api.cf.eu10-004.hana.ondemand.com and <my-space-guid>: 977a24d6-2eaf-432d-a3e1-5294451551a3:

      https://deploy-service.cf.eu10-004.hana.ondemand.com/slprot/977a24d6-2eaf-432d-a3e1-5294451551a3/slp

    More information about regions and API endpoints:

    More information about cf CLI:

    Authentication

    Select BasicAuthentication.

    Client Authentication Types for HTTP Destinations

    User

    Specify the user name (usually, an email address) of the user that is used for the deployment.

    Note:

    • The user used for the destination must be a valid user on Cloud Foundry environment and it must have the role SpaceDeveloper in the target space.

    • The user must be a platform user so that the deployment works for all content types. For more information, see Platform Users.

    • The user used for the destination isn’t subject to any Data Protection and Privacy requirements.

    • We recommend that you use a technical user to avoid constraints typically associated with personal users, such as password rotation.

    Restriction:

    Basic Authentication only works with users provided by SAP ID. It does not work with custom IAS tenant users. If you want to use a custom identity provider for the platform user used for the deployment, you must use OAuth2Password authentication for the destination. For more information, see Creating Destinations Using SAP Cloud Deployment Service with OAuth2Password Authentication.

    Password

    Specify the password of the user.

  4. Choose Create to create the destination.

  5. Optional: After creating the destination, click anywhere in the row to display its details.

  6. Optional: Choose Check Connection to check your destination.

    The result should display HTTP request (without authentication) to <Name of the destination> destination succeeded.

    Note:

    This result means that the URL specified in the destination can be reached. However, such a successful check doesn’t guarantee successful deployment. We recommend that you test the deployment using a test transport after completing all configuration steps required for your transport scenario.

    For more information about connection checks, see Check the Availability of a Destination.

Create Transport Nodes