From e0e5d25c31dee80c532c968a73ddad29b53858ee Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 16 Feb 2015 09:17:25 +0000 Subject: [PATCH] Add detail about using SSH for git JGit just uses normal .ssh configuration so giving it a URI in the right form should be enough. Added a short paragraph on that in the guide. See gh-55 --- docs/src/main/asciidoc/spring-cloud-config.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 6e96785f..dec24717 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -126,6 +126,13 @@ spring: password: strongpassword ---- +If you don't use HTTPS and user credentials, SSH should also work out +of the box when you store keys in the default directories (`~/.ssh`) +and the uri is points to an SSH location, +e.g. "git@github.com:configuration/cloud-configuration". The +repository is accessed using JGit, so any documentation you find on +that should be applicable. + ==== File System Backend There is also a "native" profile in the Config Server that doesn't use