in artifactregistry-auth-common/src/main/java/com/google/cloud/artifactregistry/auth/DefaultCredentialProvider.java [49:58]
public Credentials getCredential(CommandExecutor commandExecutor) throws IOException {
synchronized (this) {
if (cachedCredentials == null) {
LOGGER.info("Initializing Credentials...");
cachedCredentials = makeGoogleCredentials(commandExecutor);
}
refreshIfNeeded();
return cachedCredentials;
}
}