Description
I would like to request a feature to the Spring Cloud GCP library, adding support for the parameter manager module. This enhancement enables the library to resolve the parameter presented in GCP Parameter Manager in the application.properties file and using the @Value annotation. It also expose the CRUD methods for the Parameter Manager. It will be implemented the same way as secretmanager is implemented.
Proposed Changes:
- Add the support of parametermanager module in the spring-cloud-gcp which provides below functionality.
- Inject parameter from Parameter Manager usng
@Value annotation with specified path i.e pm@pm@global/my-param/v1
- Resolve the parameter from the Parameter Manager specified in the
application.properties file
- Expose the methods for
createParameter, enableParameterVersion, disableParameterVersion, deleteParameterVersion, getParameterString, deleteParameter.
- Add sample application which uses parametermanager to showcase the usecases.
- Add the documentation to reflect the new capabilities of parametermanager
More information about parameter manager: https://cloud.google.com/secret-manager/parameter-manager/docs/overview
Description
I would like to request a feature to the Spring Cloud GCP library, adding support for the parameter manager module. This enhancement enables the library to resolve the parameter presented in GCP Parameter Manager in the
application.propertiesfile and using the@Valueannotation. It also expose the CRUD methods for the Parameter Manager. It will be implemented the same way assecretmanageris implemented.Proposed Changes:
@Valueannotation with specified path i.epm@pm@global/my-param/v1application.propertiesfilecreateParameter,enableParameterVersion,disableParameterVersion,deleteParameterVersion,getParameterString,deleteParameter.More information about parameter manager: https://cloud.google.com/secret-manager/parameter-manager/docs/overview