def build_signature(self, date, content_length, method, content_type, resource):
        """This method is used to build signature for log analytics work space

        Args:
            date (_type_): RFC format date
            content_length (_type_): length of the data from zoom api
            method (_type_): This is post call
            content_type (_type_): application/json
            resource (_type_): api/logs

        Returns:
            _type_: authorized signature for log analytics work space
        """        
        x_headers = 'x-ms-date:' + date
        string_to_hash = method + "\n" + \
            str(content_length) + "\n" + content_type + \
            "\n" + x_headers + "\n" + resource
        bytes_to_hash = bytes(string_to_hash, encoding="utf-8")
        decoded_key = base64.b64decode(shared_key)
        encoded_hash = base64.b64encode(
            hmac.new(decoded_key, bytes_to_hash, digestmod=hashlib.sha256).digest()).decode()
        authorization = "SharedKey {}:{}".format(customer_id, encoded_hash)
        return authorization
This method is used to build signature for log analytics work space

        Args:
            date (_type_): RFC format date
            content_length (_type_): length of the data from zoom api
            method (_type_): This is post call
            content_type (_type_): application/json
            resource (_type_): api/logs

        Returns:
            _type_: authorized signature for log analytics work space
        
Solutions/ZoomReports/Data Connectors/ZoomSentinelConnector/__init__.py