Iceberg configuration
Factor House connects to Apache Iceberg REST catalogs using environment variables. Each variable maps to a standard Iceberg catalog property, so you can configure a catalog the same way you would for any Iceberg client.
Quick start
Configure catalogs by listing their names in a comma separate string in ICEBERG_CATALOG_NAMES, then configure each catalog with environment variables with the catalog name as the suffix. The only required property is the catalog uri.
ICEBERG_CATALOG_NAMES=demo
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181
Variable naming
| Variable | Description | Required |
|---|---|---|
ICEBERG_CATALOG_NAMES | Comma-separated list of catalog names, for example demo,factorhouse-dev | Yes |
Every other variable follows the pattern ICEBERG_CATALOG_<PROPERTY>_<NAME>:
<PROPERTY>is the Iceberg property name in upper case, with.and-replaced by_. For example,rest.signing-regionbecomesREST_SIGNING_REGION.<NAME>is the catalog name in upper case, with-replaced by_. For example, the catalogfactorhouse-devbecomesFACTORHOUSE_DEV.
Putting these together, the signing region for the factorhouse-dev catalog is set with ICEBERG_CATALOG_REST_SIGNING_REGION_FACTORHOUSE_DEV.
Properties are configured per catalog, so you can connect to several catalogs, each with different settings:
ICEBERG_CATALOG_NAMES=demo,other
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_DEMO=false
ICEBERG_CATALOG_URI_OTHER=http://localhost:8182
Only the properties listed on this page are supported. Any other ICEBERG_CATALOG_* variable is ignored.
Factor House 97.1 supports AWS only. Properties for other cloud providers, such as Google Cloud Storage and Azure Data Lake Storage, are not supported and are ignored. Support for Google Cloud and Azure is planned for later releases.
When you deploy with Kubernetes, pass these variables with --set env.XYZ or a ConfigMap, as described in Deploy Factor House with Kubernetes. Supply credentials and tokens as sensitive environment variables.
Property reference
The tables below list every supported property. Replace <NAME> with the upper-cased catalog name. Where a default is shown as -, Factor House does not set a value and the Iceberg default applies.
Catalog
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_URI_<NAME> | uri | Required. The URI of the Iceberg REST catalog | - |
ICEBERG_CATALOG_WAREHOUSE_<NAME> | warehouse | Warehouse location or identifier, passed to the catalog on connection | - |
ICEBERG_CATALOG_IO_IMPL_<NAME> | io-impl | Class used to read table metadata and data files, for example org.apache.iceberg.aws.s3.S3FileIO | - |
ICEBERG_CATALOG_CATALOG_IMPL_<NAME> | catalog-impl | Custom catalog implementation class | - |
ICEBERG_CATALOG_CLIENTS_<NAME> | clients | Size of the client pool | - |
ICEBERG_CATALOG_CACHE_ENABLED_<NAME> | cache-enabled | Whether the catalog caches table metadata | - |
ICEBERG_CATALOG_CACHE_EXPIRATION_INTERVAL_MS_<NAME> | cache.expiration-interval-ms | How long, in milliseconds, cached table metadata is kept | - |
ICEBERG_CATALOG_METRICS_REPORTER_IMPL_<NAME> | metrics-reporter-impl | Custom metrics reporter implementation class | - |
ICEBERG_CATALOG_UNIQUE_TABLE_LOCATION_<NAME> | unique-table-location | Whether tables are created with a unique location | - |
ICEBERG_CATALOG_ENCRYPTION_KMS_IMPL_<NAME> | encryption.kms-impl | Key management service implementation class for encrypted tables | - |
REST catalog
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_REST_TABLE_CACHE_EXPIRE_AFTER_WRITE_MS_<NAME> | rest-table-cache.expire-after-write-ms | How long, in milliseconds, a loaded table is cached after it was last written to the cache | - |
ICEBERG_CATALOG_REST_TABLE_CACHE_MAX_ENTRIES_<NAME> | rest-table-cache.max-entries | Maximum number of tables held in the REST table cache | - |
ICEBERG_CATALOG_REST_PAGE_SIZE_<NAME> | rest-page-size | Page size requested when listing namespaces and tables | - |
ICEBERG_CATALOG_SCAN_PLANNING_MODE_<NAME> | scan-planning-mode | Whether scans are planned by the client or by the catalog | - |
Authentication
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_REST_AUTH_TYPE_<NAME> | rest.auth.type | Authentication type: none, basic, oauth2 or sigv4 | - |
ICEBERG_CATALOG_REST_AUTH_BASIC_USERNAME_<NAME> | rest.auth.basic.username | Username for basic authentication | - |
ICEBERG_CATALOG_REST_AUTH_BASIC_PASSWORD_<NAME> | rest.auth.basic.password | Password for basic authentication | - |
ICEBERG_CATALOG_REST_AUTH_SIGV4_DELEGATE_AUTH_TYPE_<NAME> | rest.auth.sigv4.delegate-auth-type | Authentication type used alongside SigV4 request signing, for example none | - |
OAuth2
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_CREDENTIAL_<NAME> | credential | Client credential in the form client_id:client_secret, exchanged for a token | - |
ICEBERG_CATALOG_TOKEN_<NAME> | token | A bearer token sent with every request, used instead of credential | - |
ICEBERG_CATALOG_OAUTH2_SERVER_URI_<NAME> | oauth2-server-uri | OAuth2 token endpoint | - |
ICEBERG_CATALOG_SCOPE_<NAME> | scope | OAuth2 scope requested with the token | - |
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_<NAME> | token-exchange-enabled | Whether to use OAuth2 token exchange. Set to false for servers that do not support it | - |
ICEBERG_CATALOG_TOKEN_REFRESH_ENABLED_<NAME> | token-refresh-enabled | Whether to refresh the token before it expires | - |
ICEBERG_CATALOG_TOKEN_EXPIRES_IN_MS_<NAME> | token-expires-in-ms | Token lifetime, in milliseconds, assumed when the server does not return one | - |
ICEBERG_CATALOG_AUDIENCE_<NAME> | audience | OAuth2 audience for token exchange | - |
ICEBERG_CATALOG_RESOURCE_<NAME> | resource | OAuth2 resource for token exchange | - |
AWS SigV4 signing
Use these properties for catalogs that authenticate with AWS Signature Version 4, such as AWS Glue and Amazon S3 Tables.
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_REST_SIGV4_ENABLED_<NAME> | rest.sigv4-enabled | Whether to sign requests with SigV4 | - |
ICEBERG_CATALOG_REST_SIGNING_REGION_<NAME> | rest.signing-region | AWS region used to sign requests | - |
ICEBERG_CATALOG_REST_SIGNING_NAME_<NAME> | rest.signing-name | AWS service name used to sign requests, for example glue or s3tables | - |
ICEBERG_CATALOG_REST_ACCESS_KEY_ID_<NAME> | rest.access-key-id | Static access key ID used to sign requests | - |
ICEBERG_CATALOG_REST_SECRET_ACCESS_KEY_<NAME> | rest.secret-access-key | Static secret access key used to sign requests | - |
ICEBERG_CATALOG_REST_SESSION_TOKEN_<NAME> | rest.session-token | Session token for temporary credentials | - |
AWS client
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_CLIENT_REGION_<NAME> | client.region | AWS region for AWS clients created by the catalog | - |
ICEBERG_CATALOG_CLIENT_CREDENTIALS_PROVIDER_<NAME> | client.credentials-provider | Class of the AWS credentials provider | - |
ICEBERG_CATALOG_CLIENT_FACTORY_<NAME> | client.factory | AWS client factory class, for example org.apache.iceberg.aws.AssumeRoleAwsClientFactory | - |
ICEBERG_CATALOG_GLUE_ACCOUNT_ID_<NAME> | glue.account-id | AWS account ID that owns the Glue Data Catalog, for cross-account access | - |
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_ARN_<NAME> | client.assume-role.arn | ARN of the IAM role to assume | - |
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_REGION_<NAME> | client.assume-role.region | AWS region of the STS endpoint used to assume the role | - |
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_SESSION_NAME_<NAME> | client.assume-role.session-name | Session name for the assumed role | - |
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_EXTERNAL_ID_<NAME> | client.assume-role.external-id | External ID presented when assuming the role | - |
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_TIMEOUT_SEC_<NAME> | client.assume-role.timeout-sec | Duration, in seconds, of the assumed role session | - |
Amazon S3
Factor House reads table metadata, manifests and manifest lists from object storage. Configure these properties alongside io-impl when your catalog does not vend storage credentials.
The IAM role or user that Factor House uses also needs permission to read your tables manifests and data from Amazon S3, and to decrypt them if they are encrypted with AWS KMS. See AWS S3 and KMS.
| Variable | Iceberg property | Description | Default |
|---|---|---|---|
ICEBERG_CATALOG_S3_REGION_<NAME> | s3.region | AWS region of the S3 bucket | - |
ICEBERG_CATALOG_S3_ENDPOINT_<NAME> | s3.endpoint | Custom S3 endpoint, for S3-compatible storage such as MinIO or LocalStack | - |
ICEBERG_CATALOG_S3_PATH_STYLE_ACCESS_<NAME> | s3.path-style-access | Use path-style rather than virtual-host-style S3 URLs. Required by most S3-compatible storage | - |
ICEBERG_CATALOG_S3_ACCESS_KEY_ID_<NAME> | s3.access-key-id | Static access key ID for S3 | - |
ICEBERG_CATALOG_S3_SECRET_ACCESS_KEY_<NAME> | s3.secret-access-key | Static secret access key for S3 | - |
ICEBERG_CATALOG_S3_REMOTE_SIGNING_ENABLED_<NAME> | s3.remote-signing-enabled | Delegate S3 request signing to the catalog | - |
Examples
AWS Glue
ICEBERG_CATALOG_NAMES=my-catalog
ICEBERG_CATALOG_URI_MY_CATALOG=https://glue.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_IO_IMPL_MY_CATALOG=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_REST_SIGV4_ENABLED_MY_CATALOG=true
ICEBERG_CATALOG_REST_SIGNING_REGION_MY_CATALOG=us-east-1
ICEBERG_CATALOG_REST_SIGNING_NAME_MY_CATALOG=glue
AWS Glue cross-account access
ICEBERG_CATALOG_NAMES=cross
ICEBERG_CATALOG_URI_CROSS=https://glue.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_GLUE_ACCOUNT_ID_CROSS=222222222222
ICEBERG_CATALOG_CLIENT_FACTORY_CROSS=org.apache.iceberg.aws.AssumeRoleAwsClientFactory
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_ARN_CROSS=arn:aws:iam::222222222222:role/factor-platform
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_REGION_CROSS=us-east-1
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_SESSION_NAME_CROSS=factor-platform
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_EXTERNAL_ID_CROSS=external-id
ICEBERG_CATALOG_CLIENT_ASSUME_ROLE_TIMEOUT_SEC_CROSS=900
Amazon S3 Tables
ICEBERG_CATALOG_NAMES=s3tables-dev
ICEBERG_CATALOG_URI_S3TABLES_DEV=https://s3tables.us-east-1.amazonaws.com/iceberg
ICEBERG_CATALOG_WAREHOUSE_S3TABLES_DEV=arn:aws:s3tables:us-east-1:111111111111:bucket/tables
ICEBERG_CATALOG_REST_AUTH_TYPE_S3TABLES_DEV=sigv4
ICEBERG_CATALOG_REST_AUTH_SIGV4_DELEGATE_AUTH_TYPE_S3TABLES_DEV=none
ICEBERG_CATALOG_REST_SIGNING_NAME_S3TABLES_DEV=s3tables
Confluent Tableflow
ICEBERG_CATALOG_NAMES=tableflow-dev
ICEBERG_CATALOG_URI_TABLEFLOW_DEV=https://tableflow.us-east-2.aws.confluent.cloud/iceberg/catalog
ICEBERG_CATALOG_CREDENTIAL_TABLEFLOW_DEV=key:secret
ICEBERG_CATALOG_OAUTH2_SERVER_URI_TABLEFLOW_DEV=https://tableflow.us-east-2.aws.confluent.cloud/iceberg/catalog/v1/oauth/tokens
ICEBERG_CATALOG_TOKEN_EXCHANGE_ENABLED_TABLEFLOW_DEV=false
ICEBERG_CATALOG_IO_IMPL_TABLEFLOW_DEV=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_S3_REMOTE_SIGNING_ENABLED_TABLEFLOW_DEV=true
ICEBERG_CATALOG_CLIENT_REGION_TABLEFLOW_DEV=us-east-2
Unity Catalog
ICEBERG_CATALOG_NAMES=unity-dev
ICEBERG_CATALOG_URI_UNITY_DEV=http://unity:8080/api/2.1/unity-catalog/iceberg
ICEBERG_CATALOG_TOKEN_UNITY_DEV=token
ICEBERG_CATALOG_TOKEN_REFRESH_ENABLED_UNITY_DEV=false
Self-hosted REST catalog with S3-compatible storage
ICEBERG_CATALOG_NAMES=demo
ICEBERG_CATALOG_URI_DEMO=http://localhost:8181/
ICEBERG_CATALOG_WAREHOUSE_DEMO=s3://demo/
ICEBERG_CATALOG_IO_IMPL_DEMO=org.apache.iceberg.aws.s3.S3FileIO
ICEBERG_CATALOG_S3_ENDPOINT_DEMO=http://localhost:4566
ICEBERG_CATALOG_S3_PATH_STYLE_ACCESS_DEMO=true
ICEBERG_CATALOG_S3_ACCESS_KEY_ID_DEMO=test
ICEBERG_CATALOG_S3_SECRET_ACCESS_KEY_DEMO=test
ICEBERG_CATALOG_CLIENT_REGION_DEMO=us-east-1