Thanks a lot 

> On 15 Jun 2021, at 11:57 PM, 'David (Cloud Platform Support)' via Google App 
> Engine <[email protected]> wrote:
> 
> 
> Hello,
> 
> As you mentioned, a good way of doing this would be using secret manager. 
> This is the official document that explains how to use secret manager and 
> should help you in getting your curl to work properly.
> 
> 
> 
>> On Monday, June 14, 2021 at 1:37:09 PM UTC-4 [email protected] wrote:
>> 
>> 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 a topic in the Google 
> Groups "Google App Engine" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-appengine/a9QBvtnYwhc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/43b093a9-cab0-450d-9293-d6cc76efae90n%40googlegroups.com.

-- 
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/B6222E6F-7D9D-413A-A5C1-600A1BCC7C72%40gmail.com.

Reply via email to