- Change project ID in
bootstrap.properties
. - Change secret ID in
application.yml
. Note that there is no${}
around the variable. - Run the application.
- Browser the secret content in
http://localhost:8080/getSecret
. - In your GCP console, create a new version of secret under the same secret ID.
- Send a
POST
request to the server:curl -X POST http://localhost:8080/actuator/refresh
. - Refresh the page to see the newly added secret.
-
Notifications
You must be signed in to change notification settings - Fork 2
JoeWang1127/refreshable-secret-manager
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demo project for Refreshable GCP Secret Manager
Resources
Stars
Watchers
Forks
Releases
No releases published