I have a series of functions, and I want to prevent some of them from being invoked by any method other than another netlify function in the same repo. I guess the simplest way to do this would be set a passphrase as an Env variable, and verify that any incoming request has that passphrase, but I figure there’s got to be another way that I’m missing. I have looked at the docs on signed proxy redirects, and I think that might be what I want, but the documentation is sparse so I’m not certain. (https://docs.netlify.com/routing/redirects/rewrites-proxies/#signed-proxy-redirects).
It could be that I’m just approaching this all wrong, and I’m trying to solve a problem that shouldn’t exist, but if anyone has any advice, I’d appreciate it.