sopra-fs24-group-01 / sopra-fs24-plantparent-server

This is the Spring-based back end for the PlantParent website.
Apache License 2.0
0 stars 1 forks source link

implement secret loader #121

Closed NorDar closed 5 months ago

NorDar commented 5 months ago

This credentials loader will determine if the application is running locally or on Google App Engine.

If running locally the credentials will be loaded from the environment variables "MJ_APIKEY_PRIVATE" and "MJ_APIKEY_PUBLIC". If running on Google App Engine, the credentials will be loaded from the credential store from within the project. The user running the app needs to have read permission on the respective secrets.

Closing #120