Clarify how to set basic auth credentials in config

See gh-55
This commit is contained in:
Dave Syer
2015-02-12 10:31:02 +00:00
parent 897ad1face
commit e28b137fb0

View File

@@ -111,6 +111,20 @@ pattern is "simple" (i.e. it only matches one application). The
pattern format is a comma-separated list of application names with
wildcards.
To use HTTP basic authentication on the remote repository add the
"username" and "password" properties separately (not in the URL),
e.g.
----
spring:
cloud:
config:
server:
git:
uri: https://github.com/spring-cloud-samples/config-repo
username: trolley
password: strongpassword
----
==== File System Backend