api key - Google maps api keys: dev -> staging -> production workflow -


does have solution managing maps api key, given that:

  • developers work locally, using localhost

  • we have staging server, accessed internally via http://stagehost , externally (for customers) via ip address

  • finally, production server (http://some.domain.com)

two questions:

first, how people manage keys in type of scenario, given there's chance mixup. internal servers not accessible via stagehost.domain.com

second, how can address staging server issue? ip address not accessible internally. possible?

i have table in database stores google map keys of different urls. pull out correct key based on url. lets same code work dev, test, & production across 100 sites.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -