Authenticate by providing Github Token only (#739)

* Authenticate by providing Github Token only

* docs: add backticks to env var

* add optional word to docs
This commit is contained in:
Marwan Sulaiman
2018-10-04 19:35:16 -04:00
committed by GitHub
parent 97d8013876
commit 6753def0b7
5 changed files with 37 additions and 0 deletions
+8
View File
@@ -127,6 +127,14 @@ EnableCSRFProtection = false
# Env override: ATHENS_NETRC_PATH
NETRCPath = ""
# GithubToken can be used instead of a NETRCPath to authenticate
# the proxy to your own private repos on github. This makes it
# easier for users and for platforms like GAE to only be provided
# a Github token instead of a .netrc file. Internally, the proxy
# just create a .netrc file for you.
# Env override: ATHENS_GITHUB_TOKEN
GithubToken = ""
# HGRCPath tells you where the .hgrc path initially resides.
# This is so that you can mount the .hgrc file to a secret location
# in the fs system and then move it ~/.hgrc. In certain deployments