docs: private AllProfiles loadProfiles(InputStream is) throws IOException {
          ProfilesConfigFileLoaderHelper helper = new ProfilesConfigFileLoaderHelper();
          Map<String, Map<String, String>> allProfileProperties = helper
                  .parseProfileProperties(new Scanner(is, StringUtils.UTF8.name()));
  
          // Convert the loaded property map to credential objects
          Map<String, BasicProfile> profilesByName = new LinkedHashMap<String, BasicProfile>();
  
          for (Entry<String, Map<String, String>> entry : allProfileProperties.entrySet()) {
              String profileName = entry.getKey();
              Map<String, String> properties = entry.getValue();
  
              if (profileName.startsWith("profile ")) {
                  LOG.warn(
                          "Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the " +
                          "Java SDK, so you will need to include this prefix in your profile name when you reference this " +
                          "profile from your Java code.");
              }
  
              assertParameterNotEmpty(profileName,
                                      "Unable to load properties from profile: Profile name is empty.");
              profilesByName.put(profileName, new BasicProfile(profileName, properties));
          }
  
          return new AllProfiles(profilesByName);
      }