mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user