Browse Source

Merge pull request #4984 from michaelneale/master

explained what authConfig actually is
James Turnbull 11 years ago
parent
commit
be882d989a
1 changed files with 2 additions and 0 deletions
  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
 - Since API version 1.2, the auth configuration is now handled client
   side, so the client has to send the authConfig as POST in
   side, so the client has to send the authConfig as POST in
   /images/(name)/push
   /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
 2. Versions
 ===========
 ===========