def load_tokens_from_keyvault(self):
        """Load tokens from KeyVault based on access and refresh token keys."""
        properties_list = self.keyvault_obj.get_properties_list_of_secrets()
        if self.access_token_key in properties_list:
            self.access_token = self.keyvault_obj.get_keyvault_secret(self.access_token_key)
        if self.refresh_token_key in properties_list:
            self.refresh_token = self.keyvault_obj.get_keyvault_secret(self.refresh_token_key)
Load tokens from KeyVault based on access and refresh token keys.
Solutions/Vectra XDR/Data Connectors/VectraDataConnector/SharedCode/collector.py