0

I have created an Alexa Skill that uses the Google Directions API. I am only using returned JSON data. According the API documentation, the API key must be available to the public. I want the API key to be used only for my Amazon Alexa skill. How could I restrict this API access for the Amazon Alexa skill?

  • 1
    Keys should always be restricted, keys for the Google Maps Javascript API v3 must be publicly available (they are on a public web page), but server keys (which are required for web services) don't **have** to be public the same way. – geocodezip Mar 05 '20 at 02:33
  • Thanks for the clarification. I still am confused on how to execute this. I was previously referring to this question for direction https://stackoverflow.com/questions/39625587/how-do-i-securely-use-google-api-keys – Tyree Chrisp Mar 05 '20 at 03:00
  • 1
    If you are using a web service, you aren't using the Google Maps Javascript API v3. – geocodezip Mar 05 '20 at 03:01

0 Answers0