v1

latestSwagger 2.02026-07-17108109409.0 KB
System

Check auth configuration

Validate credentials for a registry and, if available, get an identity token for accessing the registry without password.

post/auth

Request body

usernamestring
passwordstring
emailstring
serveraddressstring

Example request

{
  "username": "hannibal",
  "password": "xxxx",
  "serveraddress": "https://index.docker.io/v1/"
}

Response

An identity token was generated successfully.

Statusstring required

The status of the authentication

IdentityTokenstring

An opaque token used to authenticate a user after a successful login