Docker - get auth_token using REST API
by
Jeremy Canfield |
Updated: February 12 2022
| Docker articles
The following curl command can be used to get auth_token.
curl -sk -d '{"username":"your_username","password":"your_password"}' https://hostname:port/auth/login
Here is an example of the key:value pair that this command should return.
{"auth_token":"783c8097-5ece-4c49-9d76-1ade71672247"}
Did you find this article helpful?
If so, consider buying me a coffee over at