def get_keyvault_secret(self, secret_name):
        """To get value of provided secretname from AzureKeyVault.

        Args:
            secret_name (str): secret name to get its value.
        """
        try:
            self.applogger.debug("Retrieving secret {} from {}.".format(secret_name, self.keyvault_name))
            retrieved_secret = self.client.get_secret(secret_name)
            self.applogger.debug("Retrieved secret value for {}.".format(retrieved_secret.name))
            return retrieved_secret.value

        except ResourceNotFoundError as err:
            self.applogger.error("Resource not found : '{}' ".format(err))
            self.set_keyvault_secret(secret_name, "")
            return ""
To get value of provided secretname from AzureKeyVault.

        Args:
            secret_name (str): secret name to get its value.
        
Solutions/Vectra XDR/Data Connectors/VectraDataConnector/SharedCode/keyvault_secrets_management.py