title: Docker login auth token
body: <p>I'm trying to get <code>docker login</code> auth from <code>~/.docker/config.json</code> file.
  But I can't see <code>auth</code> token in my <code>config.json</code> file.
  Here is my docker version.</p>
  
  <pre><code>docker version
  Client:
   Version:      17.03.1-ce
   API version:  1.27
   Go version:   go1.7.5
   Git commit:   c6d412e
   Built:        Tue Mar 28 00:40:02 2017
   OS/Arch:      darwin/amd64
  
  Server:
   Version:      17.03.1-ce
   API version:  1.27 (minimum version 1.12)
   Go version:   go1.7.5
   Git commit:   c6d412e
   Built:        Fri Mar 24 00:00:50 2017
   OS/Arch:      linux/amd64
   Experimental: true
  </code></pre>
  
  <p>When I run <code>cat ~/.docker/config.json</code> then what I can see is</p>
  
  <pre><code>cat .docker/config.json
  {
      "auths": {
          "https://index.docker.io/v1/": {}
      },
      "credsStore": "osxkeychain"
  }%
  </code></pre>
  
  <p>According to Codeship <a href="https://documentation.codeship.com/pro/getting-started/getting-started-part-three/#encrypted-credentials" rel="noreferrer">documentation</a> I should have to see</p>
  
  <pre><code>{
      "auths": {
          "https://index.docker.io/v1/": {
              "auth": "auth_key",
              "email": "email"
          }
      }
  }
  </code></pre>
  
  <p>Can I disable storing my authkey in keychain?</p>
  
  <p>I really need to get <code>auth_key</code>, how can I get that?</p>
  
  <p>Thank you</p>