From 4a89510fc866b7d85f2a546f43bdd3c04d337acd Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 11 Sep 2024 21:31:41 +1000 Subject: [PATCH] add config server user creds --- pom.xml | 5 ----- src/main/resources/application.yml | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index a1a4fd0..bea7029 100644 --- a/pom.xml +++ b/pom.xml @@ -53,11 +53,6 @@ - - sydney.cheng - ec-microservice-commons-security - 1.0.1-SNAPSHOT - sydney.cheng ec-microservice-commons-swagger diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7ed3885..5f1c12f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -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: