storage_account_sample.py
def update_storage_account(self):
        """
        Updates a storage account in the vault.
        """
        # switch the active key for the storage account
        print('updating storage account active key')
        self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url,
                                                       storage_account_name=self.config.storage_account_name,
                                                       active_key_name='key2')

        # update the key regeneration period
        print('updating storage account regeneration period')
        # self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url,
        #                                                storage_account_name=self.config.storage_account_name,
        #                                                regenration_period='P60D')

        print('disabling automatic key regeneration')
        # stop auto rotating the storage account keys
        self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url,
                                                       storage_account_name=self.config.storage_account_name,
                                                       auto_regenerate_key=False)

        Updates a storage account in the vault.
        
Updates a storage account in the vault.
Updates a storage account in the vault .
def update_storage_account(self):
        print('updating storage account active key')
        self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url,
                                                       storage_account_name=self.config.storage_account_name,
                                                       active_key_name='key2')
        print('updating storage account regeneration period')
        print('disabling automatic key regeneration')
        self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url,
                                                       storage_account_name=self.config.storage_account_name,
                                                       auto_regenerate_key=False)
def update_storage_account ( self ) : print ( 'updating storage account active key' ) self . keyvault_sp_client . update_storage_account ( vault_base_url = self . sample_vault_url , storage_account_name = self . config . storage_account_name , active_key_name = 'key2' ) print ( 'updating storage account regeneration period' ) print ( 'disabling automatic key regeneration' ) self . keyvault_sp_client . update_storage_account ( vault_base_url = self . sample_vault_url , storage_account_name = self . config . storage_account_name , auto_regenerate_key = False )
Updates a storage account in the vault.
Updates a storage account in the vault .
"""
        Updates a storage account in the vault.
        """ # switch the active key for the storage account # update the key regeneration period # self.keyvault_sp_client.update_storage_account(vault_base_url=self.sample_vault_url, #                                                storage_account_name=self.config.storage_account_name, #                                                regenration_period='P60D') # stop auto rotating the storage account keys
self