Explorar o código

explained what authConfig actually is.

Docker-DCO-1.1-Signed-off-by: Michael Neale <michael.neale@gmail.com> (github: michaelneale)
Michael Neale %!s(int64=11) %!d(string=hai) anos
pai
achega
75633a0451
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/sources/reference/api/docker_remote_api.rst

+ 2 - 0
docs/sources/reference/api/docker_remote_api.rst

@@ -22,6 +22,8 @@ Docker Remote API
 - Since API version 1.2, the auth configuration is now handled client
   side, so the client has to send the authConfig as POST in
   /images/(name)/push
+- authConfig, set as the ``X-Registry-Auth`` header, is currently a Base64 encoded (json) string with credentials:  
+  ``{'username': string, 'password': string, 'email': string, 'serveraddress' : string}``
 
 2. Versions
 ===========