Skip to main content

Object Storage

The Object Storage module provides a client for SAP BTP Object Store Service with a simple, unified API for uploading, downloading, listing, and deleting objects.

Getting Started

Use create_client() to get a client with automatic configuration detection:

from sap_cloud_sdk.objectstore import create_client

# Automatically detects local vs cloud mode
client = create_client("my-instance")

You can also specify additional parameters if needed:

from sap_cloud_sdk.objectstore import create_client

# Custom configuration with SSL disabled
client = create_client(
"my-instance",
disable_ssl=True, # Disable SSL (default is False)
)

For error handling, metadata inspection, and configuration details, see the Object Storage user guide in the cloud-sdk-python repository.