spring: + cloud: + config: + uri: https://user:secret@myconfig.mycompany.com+
From f56ccb0de603346fcf565dbc0bd04e9bf2b25917 Mon Sep 17 00:00:00 2001
From: Dave Syer
+
@EnableConfigServer annotation.
You are free to secure your Config Server in any way that makes sense +to you (from physical network security to OAuth2 bearer +tokens), and Spring Security and Spring Boot make it easy to do pretty +much anything.
+To use the default Spring Boot configured HTTP Basic security, just
+include Spring Security on the classpath (e.g. through
+spring-boot-starter-security). The default is a username of "user"
+and a randomly generated password, which isn’t going to be very useful
+in practice, so we recommend you configure the password (via
+security.user.password) and encrypt it (see below for instructions
+on how to do that).