Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

There could be extension and application use cases deployed on Kyma runtime where the workload is required to connect to an external system. The external system could have been secured with OAuth2, Basic Authentication, Client Certificate Authentication, or any other means.

In all such cases, SAP Destination service can be used to store and retrieve technical information to consume the target external system. SAP Cloud SDK can be used for the boilerplate logic to retrieve the credentials and connect to the external system. The advantage is that the application code is then solely focused on the business logic and all connectivity details are handled by the SAP Cloud SDK.

The flow to connect to an external system that is secured with Client Certificate Authentication using SAP Cloud SDK will look as below. The certificate and all technical information are stored in the SAP Destination service.

SAP Cloud SDK takes care of retrieving the technical details and making them available to the application logic.

You can check out further details to use SAP Cloud SDK on Kyma link.

The working sample is available in the SAP-Sample repository.

You can follow the step-by-step instructions to try it out.

Have fun exploring Kyma runtime!