We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a0921 commit 0495735Copy full SHA for 0495735
sample_script.py
@@ -5,15 +5,11 @@
5
6
# Change host to your domain or it will default to https://your-api-subdomain.onelogin.com
7
configuration = onelogin.Configuration(
8
- host = "https://sumit-shadow.onelogin-shadow01.com",
9
- username = "6c5576b0622759fcbbefe177e61be499879b4d0f5fb33a512c551f7e238c3da6",
10
- password = "e4c318ac6c5c2691f544c104dd534356428e8d9c0a36ed7a14da782436b486f9"
+ host = "https://your-api-subdomain.onelogin.com",
+ username = os.environ["USERNAME"],
+ password = os.environ["PASSWORD"]
11
)
12
13
-# configuration = onelogin.Configuration(
14
-
15
-# )
16
17
# Enter a context with an instance of the API client
18
with onelogin.ApiClient(configuration) as api_client:
19
# Create an instance of the API class
0 commit comments