v51

latestSwagger 2.0raw.githubusercontent.com2026-08-01108160461.1 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
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

Example response

{
  "Status": "Login Succeeded",
  "IdentityToken": "9cbaf023786cd7..."
}