@Test
  public void testCanAttemptBlobMount_basicCredential() {
    Authorization fixture = Authorization.fromBasicCredentials("foo", "bar");
    Assert.assertTrue(RegistryClient.canAttemptBlobMount(fixture, "random"));
    Assert.assertTrue(RegistryClient.canAttemptBlobMount(fixture, "library/openjdk"));
  }
Basic credential should allow access to all.
jib-core/src/test/java/com/google/cloud/tools/jib/registry/DockerRegistryBearerTokenTest.java