Forum Discussion
How to create authentication token for iControl
Hi,
How can we create authentication token on iControl instead of username:password and used that token to search for node status using curl?
Thanks
2 Replies
- R_Marc
Nimbostratus
Nope. That would be an awesome feature, however. But it would be a feature request. It's BA only, presently, and there's no RBAC or remote auth.
- PeteWhite
Employee
use curl with -c or --cookie-jar and -u username:password to perform the initial login to the page, then perform the iControl REST requests you want eg curl -c cookies.txt -u admin:password https://172.24.20.12/mgmt/tm curl -c cookies.txt https://172.24.20.12/mgmt/tm/ltm/node/stats
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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