You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-10Lines changed: 26 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ For full documentation, please visit our [dedicated](https://armis-python-sdk.re
16
16
17
17
## Usage
18
18
19
-
All interaction with the SDK happens through the `ArmisSdk` class. You'll need three things:
19
+
All interaction with the SDK happens through the `ArmisSdk` class. You'll need five things:
20
20
21
-
1.**Tenant name**: The name of the tenant you want to interact with.
22
-
2.**Secret key**: The secret key associated with the tenant, obtained from the tenant itself.
23
-
3.**Client id**: A unique identifier for your application. Currently, this can be any string.
21
+
1.**Audience**: The url of the tenant you want to interact with, including trailing slash (e.g. `https://acme.armis.com/`).
22
+
2.**Client ID**: The email address of the user account within the tenant that was used to generate the Client Secret.
23
+
3.**Client Secret**: The confidential credential generated by your customer within Armis, paired with the Client ID.
24
+
4.**Vendor ID**: An identifier unique to your developer account or integration, obtained when you register on our developer portal.
25
+
5.**Scopes**: The specific permissions required by your access token to interact with the desired API endpoints.
24
26
25
-
You can either provide these values using the environment variables `ARMIS_TENANT`, `ARMIS_SECRET_KEY`, and `ARMIS_CLIENT_ID`:
27
+
You can either provide these values using the environment variables `ARMIS_AUDIENCE`, `ARMIS_CLIENT_ID`, `ARMIS_CLIENT_SECRET`, `ARMIS_VENDOR_ID`, and `ARMIS_CLIENT_ID`:
> If you're building an application that interacts with multiple tenants, you can populate only the `ARMIS_CLIENT_ID`environment variable and pass the `tenant`and `secret_key` explicitly:
50
+
> If you're building an application that interacts with multiple tenants, you can populate only the `ARMIS_VENDOR_ID` and `ARMIS_SCOPES`environment variable and pass the `audience`, `client_id`and `client_secret` explicitly:
0 commit comments