I have a credentials file used by an authenticating service. This file is in a private github repo, but of course it needs to be used by the lambda functions on the Netlify site when running. Which means it gets deployed on an AWS server somewhere. I really don’t know how secure that is(?).
It would be nice to be able to pass all these authentication fields via environment variables, but I don’t think there’s a way to do that given the service API I am using (it wants a JSON structure).
It’s been months since I last looked into this, so there might be a clean solution. Otherwise, it should be possible to shove all these cert fields into the environment, then then pull them together in a JSON object. Any better way?