Forum Discussion
Authentication using token in F5-SDK
I have issue with authentication using token:
To connect to BIG-IP: mgmt= ManagementRoot(“1.1.1.1”,”user”,”pass”)
To use token authentication on the nonstandard 4443 tcp port: mgmt= ManagementRoot(“1.1.1.1”,”user”,”pass”, port=4443, token=True)
Use existing authentication token: mgmt= ManagementRoot(“1.1.1.1”,”user”,”pass”, token=True, token_to_use=” 2PXGGMT4QR3Y3PAQEEURAPB5DJ”)
From this, I have 2 questions: 1-How do we get token_to_use value from mgmt ? 2-Is there a way to use only the value to the token a connect to BIG-IP using ManagementRoot without providing hostname, username and password ?
- Abdessamad1
Cirrostratus
I think the answer is here:
https://devcentral.f5.com/s/articles/Python-SDK-Cookbook-Working-with-Auth-Tokens
cheers !
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com