code: @Deprecated
    public RegistryAuth fromConfig(final Path configPath, final String serverAddress)
        throws IOException {
      return authForRegistry(configPath, serverAddress);
    }
docs: Returns the RegistryAuth for the config file for the given registry server name.
  
  @throws IllegalArgumentException if the config file does not contain registry auth info for the
  registry
  @deprecated In favor of {@link #authForRegistry(Path, String)}