Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2018-08-02 13:19:57 +0300
committerAndrew Newdigate <andrew@gitlab.com>2018-08-02 13:19:57 +0300
commitc65c6bee6e9457b37b125fb2be4ab4d8614a91c4 (patch)
tree7e3b45d69ce69992a72d4a7a45f29e46237d1fb5 /config.toml.example
parentd869d53aa81d947c47e20babcea43b4785272211 (diff)
Add authentication to `config.toml.example`
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example6
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"