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
{{ message }}
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ Connection properties for accessing the OneView appliance can be set in a JSON f
69
69
Before running the samples or your own scripts, you must create the JSON file.
70
70
An example can be found at: [OneView configuration sample](examples/config-rename.json).
71
71
72
+
Note: If you have an active and valid login session and want to use it, define the sessionID in the Credentials. When sessionID is defined, you can remove username and password from your JSON (they will be disregarded anyway).
73
+
72
74
Once you have created the JSON file, you can initialize the OneViewClient:
73
75
74
76
```python
@@ -84,8 +86,12 @@ Configuration can also be stored in environment variables:
:lock: Tip: Make sure no unauthorized person has access to the environment variables, since the password is stored in clear-text.
97
103
104
+
Note: If you have an active and valid login session and want to use it, define the ONEVIEWSDK_SESSIONID. When a sessionID is defined, it will be used for authentication (username and password will be ignored in this case).
105
+
98
106
Once you have defined the environment variables, you can initialize the OneViewClient using the following code snippet:
0 commit comments