Hello,
I've added a step to curl into an endpoint in my app as follows:
name: gcr.io/google.com/cloudsdktool/cloud-sdk
entrypoint: "bash"
args:
- "-c"
- |
RESPONSE=$(curl -o /dev/null -s -w "%{http_code}" -H "X-AppEngine: 1"
$_APP_BASE_URL)
if [ "200" != "$$RESPONSE" ];
then
exit 1;
fi
I would like to authenticate this request on my app level.
What are my options?
To generate a token, store it inside Secret Manager and inside my DB or env
variables. Pass the token via header (get) or payload (post) and then
compare the two?
Any more secure ways of doing this?
Thanks
Bill
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/8fbd0170-cbbb-4d68-8586-209be70a9c2an%40googlegroups.com.