My use case is I have all the backend functions on Google Cloud Functions (gcf), and the REST API that connect my data with my users is on Lambda functions. When I get an Http request in Amazon API Gateway, I am executing a Lambda function and that Lambda Function is going to get some data from Firebase and call a gcf if needed. Right now, I am just doing an http request to the gcf using uri: `
https://us-central1-${dbName}.
cloudfunctions.net/${functionName}`. It is working but in a very insecure way because all my gcf are public to anybody on the internet. I want to secure that. Bryan mentioned using a user's ID token, but this is the admin SDK inside a lambda function triggered by an API request, so, I don't have any user id. Is there any way to get an admin user id or do I need to create a workaround with a random secret admin id and verify if the function was called with that secret admin id?