Skip to content

Add Google Cloud Parameter Manager environment repository - #3278

Open
yashdotdev13 wants to merge 2 commits into
spring-cloud:mainfrom
yashdotdev13:issue-2900-google-parameter-manager
Open

Add Google Cloud Parameter Manager environment repository#3278
yashdotdev13 wants to merge 2 commits into
spring-cloud:mainfrom
yashdotdev13:issue-2900-google-parameter-manager

Conversation

@yashdotdev13

@yashdotdev13 yashdotdev13 commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Fixes #2900

Summary

Adds support for using Google Cloud Parameter Manager as an environment repository.

This change:

  • Adds the Google Cloud Parameter Manager dependency.
  • Adds configuration properties for project ID, location, parameter labels, and repository order.
  • Adds GoogleParameterManagerEnvironmentRepository.
  • Adds GoogleParameterManagerEnvironmentRepositoryFactory.
  • Registers the repository when ParameterManagerClient is available.
  • Loads parameters based on application and profile labels.
  • Adds unit test coverage for parameter retrieval and rendering.

Testing

./mvnw.cmd -pl spring-cloud-config-server -Dtest=GoogleParameterManagerEnvironmentRepositoryTests test

Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>

@ryanjbaxter ryanjbaxter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need documentation as well

Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>
@yashdotdev13

Copy link
Copy Markdown
Contributor Author

Thanks! I've added documentation for the Google Cloud Parameter Manager backend, including configuration properties, application and profile mapping, and authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add EnvironmentRepository For Google's Parameter Manager

3 participants