class RepositoryUtils {

    public static List<String> cleanUpCredentialsFromEnvMap(final Map<String, Object> envMap) {
        return KEYS_TO_SEARCH
                .stream()
                .filter(key -> envMap.remove(key) != null)
                .collect(Collectors.toList());
    }

    private  RepositoryUtils();

}