Update README.md

This commit is contained in:
Nils 2020-10-14 10:43:33 +02:00 committed by GitHub
parent 14670b1f3b
commit 89a778d111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
# Java legacy secrets example
# Deprecated! Java legacy secrets example
Recent Google Cloud changes has made this approach non-viable: [More info](https://nilsnh.no/2019/11/09/managing-the-google-cloud-platform-on-deprecation-notices-and-pricing-policies/).
This project was scaffolded from a java app engine example, [see original readme](scaffolded_readme.md). The purpose of this project is just to show how you can pass secrets as system properties to the running java application.
@ -14,4 +16,4 @@ Prerequisites for running the code:
## Deployment
1. Run `mvn appengine:update -DMY_SECRET_KEY=cookies-are-great` to deploy an application to the cloud together with the provided `MY_SECRET_KEY` secret.
1. Run `mvn appengine:update -DMY_SECRET_KEY=cookies-are-great` to deploy an application to the cloud together with the provided `MY_SECRET_KEY` secret.