def get_account_info(connection_string):
    """Get Account info from a connection string."""
    account_name = connection_string.split(";")[1].split("=")[-1]
    account_key = connection_string.split(";")[2].replace("AccountKey=", "")

    return (account_name, account_key)