Skip to content

Commit 62cb36d

Browse files
committed
remove duplicated lines on destination user-guide.md
1 parent 8503441 commit 62cb36d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/sap_cloud_sdk/destination/user-guide.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This module integrates with SAP BTP Destination Service to manage destinations,
44

55
## Installation
66

7-
This package is part of the `application_foundation` SDK. Import and use it directly in your application.
7+
This package is part of the SAP Cloud SDK for Python. Import and use it directly in your application.
88

99
## Quick Start
1010

@@ -141,15 +141,13 @@ from sap_cloud_sdk.destination import create_client
141141

142142
# Default: use_default_proxy=False
143143
# Turning it to true will use TransparentProxy from APPFND_CONHOS_TRANSP_PROXY environment variable
144-
# Turning it to true will use TransparentProxy from APPFND_CONHOS_TRANSP_PROXY environment variable
145144
client = create_client(instance="default", use_default_proxy=True)
146145

147146
# All get operations will use the proxy by default
148147
dest = client.get_instance_destination("my-destination")
149148
# Returns TransparentProxyDestination
150149
```
151150

152-
The environment variable `APPFND_CONHOS_TRANSP_PROXY` should be set with the format `{proxy_name}.{namespace}`:
153151
The environment variable `APPFND_CONHOS_TRANSP_PROXY` should be set with the format `{proxy_name}.{namespace}`:
154152

155153
```bash
@@ -200,7 +198,6 @@ from sap_cloud_sdk.destination import create_client, TransparentProxy, AccessStr
200198
client = create_client(instance="default", use_default_proxy=True)
201199
dest = client.get_instance_destination("my-destination")
202200
# Uses proxy from APPFND_CONHOS_TRANSP_PROXY
203-
# Uses proxy from APPFND_CONHOS_TRANSP_PROXY
204201

205202
# Example 2: Explicit proxy configuration with set_proxy()
206203
client = create_client(instance="default")
@@ -343,13 +340,11 @@ This ensures only valid headers are used with transparent proxy destinations.
343340
- Mount path: `/etc/secrets/appfnd/destination/{instance}/`
344341
- Keys: `clientid`, `clientsecret`, `url` (auth base), `uri` (service base), `identityzone`
345342
- Fallback env vars: `CLOUD_SDK_CFG_DESTINATION_{INSTANCE}_{FIELD_KEY}` (uppercased)
346-
- Fallback env vars: `CLOUD_SDK_CFG_DESTINATION_{INSTANCE}_{FIELD_KEY}` (uppercased)
347343
- The config loader normalizes to a unified binding:
348344
- `DestinationConfig(url=..., token_url=..., client_id=..., client_secret=..., identityzone=...)`
349345

350346
### Transparent Proxy
351347

352-
- Environment variable: `APPFND_CONHOS_TRANSP_PROXY`
353348
- Environment variable: `APPFND_CONHOS_TRANSP_PROXY`
354349
- Format: `{proxy_name}.{namespace}` (e.g., `connectivity-proxy.my-namespace`)
355350
- The proxy configuration is loaded and validated when the client is created

0 commit comments

Comments
 (0)