Destination Service
The Destination Service module provides an abstraction for connecting to remote systems defined in the SAP BTP Cockpit. It resolves credentials, handles OAuth flows, and supports both cloud and on-premise systems via the SAP Connectivity Service.
Fetching a Destination
from sap_cloud_sdk.destination import DestinationService
service = DestinationService()
destination = service.get_destination("my-destination")
The SDK supports all standard destination authentication types: Basic, OAuth 2.0 Client Credentials, OAuth 2.0 Authorization Code, and Principal Propagation.
For the complete API reference and more examples, see the Destination Service user guide in the cloud-sdk-python repository.