Forum Discussion
Satoshi_Toyosa1
Jan 24, 2018Employee
Instead of using Basic Auth (sending an Based-64 encoded username/password in the HTTP Authorization header), please try Token-Based authentication.
-
Get an authentication token by sending (
) the username/password toPOST
./mgmt/shared/authn/login
-
Use that token in the
header for any requests afterword.X-F5-Auth-Token
The token times out after 1200s (20 min).
Please refer to "About iControl and authentication for user accounts" section (p. 20) of the iControl® REST API User Guide Version 13.0.