code: def _query_account_key(cli_ctx, account_name):
      
      rg, scf = _query_account_rg(cli_ctx, account_name)
      t_storage_account_keys = get_sdk(
          cli_ctx, CUSTOM_MGMT_STORAGE, 'models.storage_account_keys#StorageAccountKeys')
  
      if t_storage_account_keys:
          return scf.storage_accounts.list_keys(rg, account_name).key1
      # of type: models.storage_account_list_keys_result#StorageAccountListKeysResult
      return scf.storage_accounts.list_keys(rg, account_name).keys[0].value
docs: Query the storage account key. This is used when the customer doesn't offer account key but name.