add config server user creds

This commit is contained in:
2024-09-11 21:31:41 +10:00
parent 97b272d5c8
commit 4a89510fc8
2 changed files with 6 additions and 5 deletions

View File

@@ -53,11 +53,6 @@
</properties>
<dependencies>
<dependency>
<groupId>sydney.cheng</groupId>
<artifactId>ec-microservice-commons-security</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>sydney.cheng</groupId>
<artifactId>ec-microservice-commons-swagger</artifactId>

View File

@@ -37,6 +37,12 @@ spring:
name: ${application.name}
profiles:
active: native
security:
basic:
enabled: true
user:
name: ${CONFIG_SERVER_USERNAME:configuser}
password: ${CONFIG_SERVER_PASSWORD:configPass$1234}
cloud:
config:
server: