Samples

To run samples following environment variables have to be set:

Environment variables

Name

Value

Remark

OTC_SDK_AK

Access key

see: Generating an AK and SK in API usage guide.

OTC_SDK_SK

Secret key

see: Generating an AK and SK in API usage guide.

OTC_SDK_REGION

Region (e.g. eu-de)

for available regions, see: Regions.

OTC_SDK_PROJECTID

Project Id

see: Obtaining a Project ID in API usage guide.

OTC_IAM_ENDPOINT

IAM Endpoint

e.g. https://iam.eu-de.otc.t-systems.com or https://iam.eu-nl.otc.t-systems.com

For samples, see Samples folder

Note

Samples in folder demo are to demonstrate on how to use the OTC SDK for various use cases, including HTTP requests and WebSocket communication. They are not working examples and require additional setup or configuration to run successfully.