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
Post a Comment