Skip to content

Commit 57e1643

Browse files
committed
remove config refs
1 parent 287cebe commit 57e1643

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/usage-instructions-v2.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,14 @@ This is because the requests module is not aware of the middle-man certificate r
145145

146146
Disabling the verification is unsafe, and leaves the umapi client vulnerable to middle man attacks, so it is recommended to avoid disabling it if at all possible. The umapi client only ever targets two URLs - the usermanagement endpoint and the ims endpoint - both of which are secure Adobe URL's. In addition, since this option is only recommended for use in a secure network environment, any potential risk is further mitigated.
147147

148-
To bypass the ssl verification, update the umapi config as follows:
148+
To bypass the SSL verification, construct the Connection object using `ssl_verify=False` argument (set the True by default). Borrowing from the initial example,
149149

150-
```yaml
151-
server:
152-
ssl_verify: False
150+
```python
151+
conn = umapi_client.Connection(
152+
org_id=config["org_id"],
153+
auth_dict=config,
154+
ssl_verify=False
155+
)
153156
```
154157

155158
During the calls, you will also see a warning from requests:

0 commit comments

Comments
 (0)