Skip to content

Commit 3342f5b

Browse files
committed
Update documentation for 'token_to_use'
1 parent 0064310 commit 3342f5b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/userguide/connections.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ You can, however, supply one or more of the following kwargs (defaults listed):
1919
port 443
2020
icontrol_version ''
2121
token False
22+
token_to_use None
2223
verify False
2324
auth_provider None
2425
================ =====
@@ -30,6 +31,13 @@ You can, however, supply one or more of the following kwargs (defaults listed):
3031
>>> from f5.bigip import ManagementRoot
3132
>>> mgmt = ManagementRoot('192.168.1.1.', 'user', 'pass', port=4443, token=True)
3233
34+
.. topic:: Example: Use existing authentication token
35+
36+
.. code-block:: python
37+
38+
>>> from f5.bigip import ManagementRoot
39+
>>> mgmt = ManagementRoot('192.168.1.1', 'user', 'pass', token=True, token_to_use='424CC392BC96AC52A19D32DF65BB1BC80F0EC63F629471C3AFA8A055C52F391B2DC124E17A5E8D8C7F3E91E1D1909629B6BF124747DEF879A1F028129E5486F4'
40+
3341
.. topic:: Example: Enable cert verification
3442
3543
.. code-block:: python

0 commit comments

Comments
 (0)