Questions tagged [spring-cloud-config-server]

Spring Cloud Config provides server-side and client-side support for externalized configuration in a distributed system. More appropriate tag: spring-cloud-config.

211 questions
1
vote
1 answer

How can I configure a Spring Cloud Config Server with Vault backend to authenticate using the Vault Sidecar Agent

I have an spring boot project config server which uses a vault backend. application.yml: spring: profiles: active: vault config: server: vault: kvVersion: 2 order: 1 If I start with this config, all the…
1
vote
0 answers

Could not read new properties from ConfigServer

For my apps I have ConfigServer that serves application.yml properties. I added new @Value to my app and new properties for yml: @Value("${sms-service.oauth-token}") private String OAUTH_TOKEN; @Value("${sms-service.proxy-address") …
danny
  • 4,337
  • 3
  • 9
  • 10
1
vote
0 answers

Need help to resolve application not able to read config data from Spring Cloud Config Server deployed in IST environment over HTTPS

I configured the application to read the config information from spring cloud config server (spring boot application) which is deployed in IST environment (on PCF), I'm able to fetch the config data from URLs in postman and browser, but application…
1
vote
0 answers

How to configure spring config server search path to pull config from custom directory structure

I'm trying to set up Spring Cloud Config to get the application parameters bootstraped from a git repo. For our use case, each project can have specific parameters for each customer, and each of those can have their own environments as well. So the…
1
vote
1 answer

spring boot config server production setup for error "You need to configure a uri for the git repository."

I have a Spring Boot Config server that reads some properties from the local resources folder. The foldersetup is this: resources config application-production.properties application.properties application.properties In…
1
vote
0 answers

Spring Cloud Config Server ResourceController does not map request with useDefaultLabel when path contains slashes

I have a simple Spring Cloud Config Server project (using spring-cloud-config-server-4.0.0) With a default branch property set spring.cloud.config.server.git.default-label This works without a label: GET…
1
vote
0 answers

DockerFile commands to put ssh keys in Docker Container to access the Git Repo used for Spring boot Config Server

I have a spring boot config server which is fetching config files from a remote private GitHub repository using ssh. The service works perfectly when running in local but when I run the service through docker, it runs but unfortunately couldn't…
1
vote
1 answer

Is there any way to decrypt encrypted properties in Spring Cloud config Server in other projects?

Is there any way to decrypt encrypted properties in Spring Cloud config Server in other projects? For example, I want to decrypt "test" = "{chip}asdasdasd" without using the crypto endpoint of the spring cloud server. Thank you in advance for your…
sehoon
  • 43
  • 6
1
vote
0 answers

ConfigClientOAuth2BoostrapConfiguration': Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: CLIENT_SECRET_BASIC

Upon running a security scan our service was detected with high vulnerability related to spring-security-oauth2-client(5.3.10.RELEASE).We tried following both the recommended fixes and tried upgrading it to version 5.6.9 or 5.7.5.But now our…
1
vote
0 answers

Accessing file content as a resource using Spring Cloud config server

Our application setup includes having a centralized configuration server using Spring Cloud Config Server. The config server reads property files from a folder config-repo placed in its local file system, and exposes them as configurations. Other…
1
vote
1 answer

I am trying to disable the /decrypt endpoint in Spring cloud config server so that anyone with access to /decrypt endpoint wont be able to decrypt

with /decrypt endpoint availble for anyone with access I feel the encryption is not secure and its compramised Is there any way we can disable the decrypt endpoint? url: http://localhost:23000/encrypt body: hello response:…
1
vote
0 answers

Spring Cloud 2021.0.4 config server cannot get github repository

I try to upgrade Spring cloud from 2021.0.3 to 2021.0.4, then I got the error like this: Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.cloud.config.server.git' to…
1
vote
1 answer

Spring Cloud Configuration Server leaks GIT environment via actuator endpoints

I am setting up a Spring Cloud Configuration Server. Just few dependencies and an annotation. The source of properties comes from git. Server has the actuator enabled with default basic settings. I am surprised that the actuator unexpectedly reacts…
1
vote
0 answers

Spring Cloud Config Server spams "Adding property source" during health check [Spring Boot 2.6+]?

For a Spring Cloud Config Server project, we recently migrated from Spring Boot 2.1.8.RELEASE to 2.6.6. However, the application seemed to be flooded with below logs that eventually leads to k8s pod crashing/restarting. And the INFO log is generated…
1
vote
0 answers

Get Spring Cloud Config Server from PCF space using cfenv or another way

Need some help. My team is externalizing env variables by using the "Spring Cloud Config Server" available on PCF. I'm not sure how everything is hooked up. But what i know is that we have a bitbucket repo with a couple of .yaml files. These contain…
DanDevO
  • 77
  • 11
1 2
3
14 15