How to change passwords and keys in Azure resources with minimal or no downtime -


i need change password , access keys in several azure resources:

  • sql database user password
  • storage account access keys
  • service bus namespace shared key

there 4 websites , 2 cloud services uses these password , keys access resources. password , keys accessed apps using cloudconfigurationmanager class.

i can change password , regenerate keys in portal, go each website's 'configure' tab , update new values here's problem: moment change passwords , keys, apps stop working until finish update of them in proper setting pages.

how change them , minimizing downtime as possible?

service bus , storage account have concept of primary/secondary key. can change keys 0 downtime.what need do:

  1. reconfigure service, website use secondary key
  2. regenerate primary

sql database different story, can

  1. create new sql user
  2. reconfigure service, website use new connection string
  3. delete old user

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -