The key I'm talking about is
<script src="https://maps.googleapis.com/maps/api/js?key=PUT_YOUR_API_KEY_HERE"></script>
I would like to commit my file with the key so that users will be able to use my Google Map straight away.
The key I'm talking about is
<script src="https://maps.googleapis.com/maps/api/js?key=PUT_YOUR_API_KEY_HERE"></script>
I would like to commit my file with the key so that users will be able to use my Google Map straight away.
If you configure the referrers for your Google Maps Javascript API v3 key such that it only works on sites you own, there is no security issue with making it publicly available. You have to do so when you put it in a publicly available web site.
No, it not safe. I suggest you create a api key only for test purposes.
No use a config file. It is not recommended to trust your api keys security on github even if its a private repo. There are bots crawling github repo's every second