def METHOD_NAME(self, include_password=False):
    if include_password:
        return (
            f'{AZURE_BLOCK_BLOB_CONNECTION_PREFIX}'
            f'{self._connection_string}'
        )
    connection_string_parts = self._connection_string.split(';')
    account_key_prefix = 'AccountKey='
    redacted_connection_string_parts = [
        f'{account_key_prefix}**' if part.startswith(account_key_prefix)
        else part
        for part in connection_string_parts
    ]
    return (
        f'{AZURE_BLOCK_BLOB_CONNECTION_PREFIX}'
        f'{";".join(redacted_connection_string_parts)}'
    )