Warning
This page is automatically generated from the code. Do not edit it manually.
To update this page, run: ./gradlew generateDocs.
Dremio AuthManager for Apache Iceberg is highly configurable. The configuration is handled by SmallRye Config, which supports a variety of configuration sources, including environment variables, system properties, and configuration files.
By default, Dremio AuthManager loads its configuration from the catalog session properties, but it can also load configuration from other sources, in the following order:
- System properties (JVM options passed with
-Darguments) - Environment variables
- Catalog session properties (passed to the
OAuthManagerclass at runtime by theRESTCatalogclient)
Environment variables follow the naming conventions used by SmallRye Config; for example, the
property rest.auth.oauth2.token-endpoint can be set as REST_AUTH_OAUTH2_TOKEN_ENDPOINT, and so
on. See SmallRye Config Environment
Variables for more details.
To enable the Dremio AuthManager for Apache Iceberg, you need to set the rest.auth.type property
to com.dremio.iceberg.authmgr.oauth2.OAuth2Manager in your catalog configuration:
rest.auth.type=com.dremio.iceberg.authmgr.oauth2.OAuth2ManagerNote: this property must be set in the catalog properties. Setting it as a system property or environment variable will have no effect.
Dremio AuthManager also supports loading configuration from local configuration files. This is useful when you want to keep your credentials and other sensitive information out of your codebase.
To enable this feature, you need to set the smallrye.config.locations property to the path of your
configuration file. See SmallRye Config
Locations for more details.
Note: the smallrye.config.locations property must be set as a system property or environment
variable; it will be ignored if set in the catalog properties.
If you need to load configuration from multiple files, you can specify a comma-separated list of paths.