This is a simple python app which returns value from the Secret Manager and app is deployed as Google App Engine
- Hello under http://127.0.0.1:8080/Hello
- Secret under http://127.0.0.1:8080/Secret
gcloud app create --project banded-edge-363320
gcloud app deploy
gcloud secrets list
echo -n "pwValue" | gcloud secrets versions add pwsecret --data-file=-
If you face the error
Add Secret Manager Secret Accessor for the App engine Service Account
Copy Service account name
Add it in the IAM





