Greetings. We are working on a Gatsby site that we’re hoping to deploy to Netlify. One of the APIs we are accessing (Getty Images) we have a private API key / secret that we’re storing in Netlify server side variables and using it to access the API. Upon the first API request the API will return a token that should use to access any further API calls for 30 min after which we would be issued a new token.
My question is what is the Netlify best practice for storing this token server side and proxying the API requests so the token is used but not visible client side?
We’re looking into Dynamo DB on AWS as the most likely solution. But I wanted to see if there is a better way to do this as it seems like an over kill.