Class GoogleAuthManager

java.lang.Object
org.apache.iceberg.gcp.auth.GoogleAuthManager
All Implemented Interfaces:
AutoCloseable, AuthManager

public class GoogleAuthManager extends Object implements AuthManager
An authentication manager that uses Google Credentials (typically Application Default Credentials) to create GoogleAuthSession instances.

This manager can be configured with properties such as:

  • gcp.auth.credentials-path: Path to a service account JSON key file. If not set, Application Default Credentials will be used.
  • gcp.auth.scopes: Comma-separated list of OAuth scopes to request. Defaults to "https://www.googleapis.com/auth/cloud-platform".