eureka:
+ instance:
+ ...
+ metadataMap:
+ username: osufhalskjrtl
+ password: lviuhlszvaorhvlo5847
+ configPath: /config
+From 10b8c018208d0113a1ed1a0d18c91cbbd4b01f85 Mon Sep 17 00:00:00 2001
From: Dave Syer spring.cloud.config.discovery.serviceId (and on the server
in the usual way for a service, e.g. by setting spring.application.name).
The discovery client implementations all support some kind of metadata
+map (e.g. for Eureka we have eureka.instance.metadataMap). Some
+additional properties of the Config Server may need to be configured
+in its service registration metadata so that clients can connect
+correctly. If the Config Server is secured with HTTP Basic you can
+configure the credentials as "username" and "password". And if the
+Config Server has a context path you can set "configPath". Example,
+for a Config Server that is a Eureka client:
eureka:
+ instance:
+ ...
+ metadataMap:
+ username: osufhalskjrtl
+ password: lviuhlszvaorhvlo5847
+ configPath: /config
+