Does google maps javascript api-key (v3) need to be kept secret in HTML checked into github and if so, how?

后端 未结 5 2267
一向
一向 2020-12-16 10:05

Looking at the developers guide for the Google Maps Javascript API v3 it explains first about how to obtain an API, then shows examples of including that key in the HEAD sec

5条回答
  •  醉话见心
    2020-12-16 10:30

    No secrets here. When the key is generated it is associated with your domain name, so the key will not work on someone else's site anyway. It's your and yours alone.

    (I agree with Marc's comment)

提交回复
热议问题