def extract_auto_refresh_profiles(profiles):
    """Pull out any profiles with the prefix 'auto-refresh-' in the name.

    Parameters
    ----------
    - profiles - the profiles read from the aws credentials file

    Returns
    -------
    A dict of profiles that are prefixed by 'auto-refresh-' in the name.
    """
    autoRefreshProfiles = {}
    for profile in profiles:
        if 'auto-refresh-' in profile:
            autoRefreshProfiles[profile] = profiles[profile]
    return autoRefreshProfiles
