def get_storage_conn_string(hostname, account_name, account_key):
    """Returns the connection string of a local storage account containing only blob endpoint and HTTP protocol"""

    blob_endpoint = "%s/%s" % (hostname, account_name)
    conn_string = "DefaultEndpointsProtocol=http;BlobEndpoint=%s;AccountName=%s;AccountKey=%s;" % (blob_endpoint, account_name, account_key)
    return conn_string