Productivity Tools

Tools written by an IT business manager, a passionate developer.

GCP.SecretManager

This is a simple python app which returns value from the Secret Manager and app is deployed as Google App Engine

gcloud app create --project banded-edge-363320
gcloud app deploy

Tutorial

Link Enabble API

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