diff options
-rw-r--r-- | config.toml.example | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config.toml.example b/config.toml.example index 5a80cbbf4..0822e8ca1 100644 --- a/config.toml.example +++ b/config.toml.example @@ -7,7 +7,11 @@ bin_dir = "/home/git/gitaly" # # Optional: listen on a TCP socket. This is insecure (no authentication) # listen_addr = "localhost:9999" -# + +# # Optional: authenticate Gitaly requests using a shared secret +# [auth] +# token = 'abc123secret' +# transitioning = false # Set `transitioning` to true to temporarily allow unauthenticated while rolling out authentication. # # Optional: export metrics via Prometheus # prometheus_listen_addr = "localhost:9236" |