浏览代码

explained what authConfig actually is.

Docker-DCO-1.1-Signed-off-by: Michael Neale <michael.neale@gmail.com> (github: michaelneale)
Michael Neale 11 年之前
父节点
当前提交
75633a0451
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
 ===========