anchor.diff:  }"
       }]
   }'
  +~~~
   
   Replace the `$gocd_public_ip` with the public IP of the GoCD server along with `$USERNAME` and `$PASSWORD` of an admin account before running the above command with the values from your service account json file.
   
  
positive.code: 
  Now if you try to create a service account, you might get a json file with the following fields:
  
  ```json
  {
    "type": "service_account",
  
negative.code:   "client_x509_cert_url": "<client-x509-cert-url>"
  }
  ```
  ~~~
  
  This json file contains the keys necessary for authenticating with GCR to push or pull docker images. Going through the GitHub repository for information regarding how we can use the service account credentials, we came across [this issue](https://github.com/gocd/docker-registry-artifact-plugin/issues/9#issuecomment-426709466) that had a comment on how to use the service account.
  
  