public Credentials getCredentials() throws IOException {
    return credentialsProvider.getCredentials();
  }
Returns the default credentials to use when making API calls.

@return {@link Credentials} to use when making API calls.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/VertexAI.java