IMPORTANT: Developer documentation for the current main branch. This content is unreleased and may change before the next Polaris release. For stable user documentation, see the latest release docs.

Configuration Reference

This document provides a comprehensive reference for all Polaris configuration options.

All properties listed here are runtime properties and can be changed without rebuilding Polaris.

Table of Contents๐Ÿ”—

Features & Behavior๐Ÿ”—

How the effective value of a feature is determined๐Ÿ”—

For a given catalog, the value of a feature is resolved in this order, and the first value that is set wins:

  1. The catalog property, for features that have one. It is listed as Catalog Config in the feature’s description, for example polaris.config.allow.unstructured.table.location. A deprecated catalog property, if the feature has one, is only used when the current one is not set.
  2. The realm override polaris.features.realm-overrides."<realm>".overrides."<FEATURE>".
  3. The feature polaris.features."<FEATURE>", which applies to all realms.
  4. The default value of the feature.

Changing or removing a value at any level changes the effective value for every catalog that does not set a value at a higher level.

polaris.features๐Ÿ”—

Feature configurations for Polaris. These are stable, user-facing settings.

polaris.features."ADD_TRAILING_SLASH_TO_LOCATION"๐Ÿ”—

Deprecated and ignored: Polaris always appends a trailing slash to table and namespace base locations. Retained so existing configuration remains accepted rather than rejected.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.add-trailing-slash-to-location

polaris.features."ALLOW_CLIENT_SPECIFIED_TABLE_LOCATION"๐Ÿ”—

If set to true (the default), Polaris honors a location (and the write.data.path / write.metadata.path properties) explicitly supplied in a create or update request, subject to the usual structured-location, allowed-location, metadata-location, and overlap validation. If set to false, such requests are rejected, regardless of the other location compatibility flags. This setting does not apply to federated catalogs.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.allow.client-specified.table.location

polaris.features."ALLOW_DROPPING_NON_EMPTY_PASSTHROUGH_FACADE_CATALOG"๐Ÿ”—

If enabled, allow dropping a passthrough-facade catalog even if it contains namespaces or tables. passthrough-facade catalogs may contain leftover entities when syncing with source catalog. In the short term these entities will be ignored, in the long term there will be method/background job to clean them up.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.allow-dropping-non-empty-passthrough-facade-catalog

polaris.features."ALLOW_EXTERNAL_CATALOG_CREDENTIAL_VENDING"๐Ÿ”—

If set to true, allow credential vending for external catalogs.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.enable.credential.vending

polaris.features."ALLOW_EXTERNAL_METADATA_FILE_LOCATION"๐Ÿ”—

If set to true, Polaris allows metadata files to be located outside the table’s default metadata directory. This relaxes the normal check that metadata stays under the table location and should only be used when metadata is intentionally stored in separately controlled locations.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.allow.external.metadata.file.location

polaris.features."ALLOW_EXTERNAL_TABLE_LOCATION"๐Ÿ”—

Deprecated. Use ALLOW_EXTERNAL_METADATA_FILE_LOCATION instead. When enabled, this legacy compatibility flag relaxes metadata location checks; it does not control whether table locations may escape the structured namespace layout. Use ALLOW_UNSTRUCTURED_TABLE_LOCATION for that behavior.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.allow.external.table.location

polaris.features."ALLOW_FEDERATED_CATALOGS_CREDENTIAL_VENDING"๐Ÿ”—

If set to true (default), allow credential vending for external catalogs. Note this requires ALLOW_EXTERNAL_CATALOG_CREDENTIAL_VENDING to be true first.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.allow-federated-catalogs-credential-vending

polaris.features."ALLOW_INSECURE_STORAGE_TYPES"๐Ÿ”—

Allow usage of FileIO implementations that are considered insecure. Enabling this setting may expose the service to possibly severe security risks! This should only be set to ’true’ for tests!

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_NAMESPACE_LOCATION_OVERLAP"๐Ÿ”—

If set to true, allow one namespace’s location to reside within another namespace’s location. This is only enforced within a parent catalog or namespace.

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_OPTIMIZED_SIBLING_CHECK"๐Ÿ”—

When set to true, Polaris permits OPTIMIZED_SIBLING_CHECK to be enabled after explicit operator acknowledgment. Only acknowledge this when the realm has the required index and backfill state; enabling the check in previously used realms without that state may lead to incorrect overlap validation. This flag is temporary and will be removed when Polaris can backfill the required data automatically.

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_OVERLAPPING_CATALOG_URLS"๐Ÿ”—

If set to true, allows catalog URLs to overlap.

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_SETTING_S3_ENDPOINTS"๐Ÿ”—

If set to true (default), Polaris will permit S3 storage configurations to have custom endpoints, and SigV4 connection configurations to set a custom STS endpoint used for credential vending. If set to false, Polaris will not accept catalog create and update requests that contain S3 endpoint properties, or catalog create requests that set a SigV4 connection STS endpoint.

  • Type: Boolean
  • Default: true

polaris.features."ALLOW_SETTING_SUB_CATALOG_RBAC_FOR_FEDERATED_CATALOGS"๐Ÿ”—

If set to true (default), Polaris will allow setting or changing catalog property polaris.config.enable-sub-catalog-rbac-for-federated-catalogs. If set to false, Polaris will disallow setting or changing the above catalog property

  • Type: Boolean
  • Default: true

polaris.features."ALLOW_SPECIFYING_FILE_IO_IMPL"๐Ÿ”—

Config key for whether to allow setting the FILE_IO_IMPL using catalog properties. Must only be enabled in dev/test environments, should not be in production systems.

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_TABLE_LOCATION_OVERLAP"๐Ÿ”—

If set to true, Polaris allows table or view locations to overlap existing table or namespace locations. This disables Polaris location-overlap protection for table-like objects in the catalog and should only be used for compatibility cases where storage isolation is enforced outside Polaris.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.allow.overlapping.table.location

polaris.features."ALLOW_UNRESTRICTED_STORAGE_CONFIG_ROLE_CHANGES"๐Ÿ”—

If set to true, allows unrestricted changes to storage configuration role properties when updating a catalog, including changing the AWS account ID, role ARN, external ID, or Azure tenant ID. When false (default), these changes are restricted: new values can be set when none were previously configured, but existing values cannot be changed to different ones.

  • Type: Boolean
  • Default: false

polaris.features."ALLOW_UNSTRUCTURED_TABLE_LOCATION"๐Ÿ”—

If set to true, Polaris allows caller-specified table and view locations outside the structured namespace layout. This removes the default constraint that confines new table locations to the parent namespace location. Allowed-location validation still applies, but this should only be enabled for catalogs that must support externally managed or migrated table locations.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.allow.unstructured.table.location

polaris.features."ALLOW_WILDCARD_LOCATION"๐Ÿ”—

Indicates whether asterisks (’’) in configured allowed locations are processed as meaning ‘any location’. If enabled and ‘’ is present in an allowed-locations list, Polaris accepts every requested location. This removes the normal location allowlist boundary and should only be used for tightly controlled compatibility or test scenarios.

  • Type: Boolean
  • Default: false

polaris.features."AZURE_RETRY_COUNT"๐Ÿ”—

Number of retry attempts for Azure API requests. Uses exponential backoff with jitter to handle transient failures.

  • Type: Integer
  • Default: 3

polaris.features."AZURE_RETRY_DELAY_MILLIS"๐Ÿ”—

Initial delay in milliseconds before first retry for Azure API requests. Delay doubles with each retry (exponential backoff).

  • Type: Integer
  • Default: 2000

polaris.features."AZURE_RETRY_JITTER_FACTOR"๐Ÿ”—

Jitter factor (0.0 to 1.0) applied to retry delays for Azure API requests. The jitter is applied as a random percentage of the computed exponential backoff delay. For example, 0.5 means up to 50% random jitter will be added to each retry delay. Helps prevent thundering herd when multiple requests fail simultaneously.

  • Type: Double
  • Default: 0.5

polaris.features."AZURE_TIMEOUT_MILLIS"๐Ÿ”—

Timeout in milliseconds for Azure API requests. Prevents indefinite blocking when Azure endpoints are slow or unresponsive. Used internally by Azure storage integration for credential vending and other operations.

  • Type: Integer
  • Default: 15000

polaris.features."CLEANUP_ON_CATALOG_DROP"๐Ÿ”—

If set to true, clean up data when a catalog is dropped

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.cleanup.on.catalog.drop

polaris.features."CLEANUP_ON_NAMESPACE_DROP"๐Ÿ”—

If set to true, clean up data when a namespace is dropped

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.cleanup.on.namespace.drop

polaris.features."DEFAULT_LOCATION_OBJECT_STORAGE_PREFIX_ENABLED"๐Ÿ”—

When enabled, Iceberg tables and views created without a location specified will have a prefix applied to the location within the catalog’s base location, rather than a location directly inside the parent namespace. Note that this requires ALLOW_UNSTRUCTURED_TABLE_LOCATION to be enabled, but with OPTIMIZED_SIBLING_CHECK enabled it is still possible to enforce the uniqueness of table locations within a catalog.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.default-table-location-object-storage-prefix.enabled

polaris.features."DEFAULT_UNIQUE_TABLE_LOCATION_ENABLED"๐Ÿ”—

When enabled, a managed location generated for a table or view created without an explicit location is given a unique, unpredictable suffix, so that no two tables share a path prefix. When disabled (the default), the generated location is the legacy <namespace location>/<table name> form.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.default-unique-table-location.enabled

polaris.features."DROP_WITH_PURGE_ENABLED"๐Ÿ”—

If set to true, allows Iceberg tables to be dropped with the purge parameter set to true.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.drop-with-purge.enabled

polaris.features."ENABLE_CATALOG_FEDERATION"๐Ÿ”—

If true, allows creating and using ExternalCatalogs containing ConnectionConfigInfos to perform federation to remote catalogs.

  • Type: Boolean
  • Default: false

polaris.features."ENABLE_CREDENTIAL_RESET"๐Ÿ”—

Flag to enable or disable the API to reset principal credentials. Defaults to enabled, but service providers may want to disable it.

  • Type: Boolean
  • Default: true

polaris.features."ENABLE_ENTITY_LEVEL_LIST_FILTERING"๐Ÿ”—

When true, listNamespaces, listTables and listViews no longer return 403 to a caller who lacks the matching *_LIST privilege on the parent. Instead, the caller receives only the children it has access to. Under the built-in RBAC authorizer, a child is accessible if the caller holds *_READ_PROPERTIES (or a stronger privilege that implies it, such as TABLE_READ_DATA for tables) on the child or one of its parents. Callers holding *_LIST on the parent are unaffected and still see every child. When false (default), callers without *_LIST on the parent receive a 403.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.enable-entity-level-list-filtering

polaris.features."ENABLE_FINE_GRAINED_UPDATE_TABLE_PRIVILEGES"๐Ÿ”—

When true, enables finer grained update table privileges which are passed to the authorizer for update table operations

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.enable-fine-grained-update-table-privileges

polaris.features."ENABLE_GENERIC_TABLES"๐Ÿ”—

If true, the generic-tables endpoints are enabled

  • Type: Boolean
  • Default: true

polaris.features."ENABLE_OPENLINEAGE_INGEST"๐Ÿ”—

If true, the OpenLineage ingest endpoints are enabled and advertised to clients in the catalog configuration response during endpoint discovery. If false, the endpoints return 501 Not Implemented and are not advertised. The routes are always mounted when the OpenLineage extension is assembled into the server; this flag is the runtime switch that turns the feature on or off.

  • Type: Boolean
  • Default: true

polaris.features."ENABLE_POLICY_STORE"๐Ÿ”—

If true, the policy-store endpoints are enabled

  • Type: Boolean
  • Default: true

polaris.features."ENABLE_SEMANTIC_MODELS"๐Ÿ”—

If true, the semantic-model (Apache Ossie) endpoints are enabled. This is a beta feature: the API is under active development and may change in a backward-incompatible way. It is disabled by default; enable it with caution and report any issues encountered.

  • Type: Boolean
  • Default: false

polaris.features."ENABLE_SUB_CATALOG_RBAC_FOR_FEDERATED_CATALOGS"๐Ÿ”—

When enabled, allows RBAC operations to create synthetic entities for entities in federated catalogs that don’t exist in the local metastore.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.enable-sub-catalog-rbac-for-federated-catalogs

polaris.features."ENFORCE_CATALOG_CONFIG_AUTHORIZATION"๐Ÿ”—

When true, Iceberg REST GET /v1/config requires CATALOG_READ_CONFIG (or a catalog-level privilege that subsumes it); unauthorized callers get 403. Namespace- or table-scoped grants are not enough; grant CATALOG_READ_CONFIG on the catalog. When false (default), the endpoint is not authorization-gated so upgrades do not 403 bootstrap. On a 200 the response still includes catalog properties (defaults) as it does today. Enable after granting CATALOG_READ_CONFIG (or catalog-level content privileges) and after updating Ranger/OPA policies for GET_CATALOG_CONFIG. Ranger maps GET_CATALOG_CONFIG to catalog-config-read; catalog-properties-read implies catalog-config-read. Ranger operators must re-import polaris-ranger-servicedef.json (PUT the service definition) so the new access type exists in Ranger Admin; a Polaris upgrade does not update Ranger Admin. This flag is temporary. The default will not flip until client-facing catalog configuration is defined. A production-readiness warning is emitted while the flag remains false only when a realm uses the internal Polaris authorizer (polaris.authorization.authorizer.type=internal).

  • Type: Boolean
  • Default: false

polaris.features."ENFORCE_PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_CHECKING"๐Ÿ”—

If set to true, require that principals must rotate their credentials before being used for anything else.

  • Type: Boolean
  • Default: false

polaris.features."ENTITY_CACHE_WEIGHER_TARGET"๐Ÿ”—

The maximum weight for the entity cache. Weights approximate the size in bytes of the cached entities and of their grant records, so the default corresponds to roughly 100 MiB of entity data. This is a heuristic: actual heap usage is higher than the configured weight, and fine-tuning requires experimentation in the specific deployment environment.

  • Type: Long
  • Default: 104857600

polaris.features."GCS_PRINCIPAL_ATTRIBUTION_ENABLED"๐Ÿ”—

Enables GCS principal attribution via Workload Identity Federation. When true, credential vending chains a catalog-signed JWT through an STS token exchange and service-account impersonation so the Polaris principal appears in GCS Data Access audit logs (serviceAccountDelegationInfo.principalSubject). Requires GCS_PRINCIPAL_ATTRIBUTION_WIF_AUDIENCE, GCS_PRINCIPAL_ATTRIBUTION_TOKEN_ISSUER, and GCS_PRINCIPAL_ATTRIBUTION_SIGNING_KEY_FILE to also be set; a missing required value is a fatal configuration error. Also requires a gcpServiceAccount on the catalog StorageConfiguration. Default: false (attribution disabled).

  • Type: Boolean
  • Default: false

polaris.features."GCS_PRINCIPAL_ATTRIBUTION_SIGNING_KEY_FILE"๐Ÿ”—

Filesystem path to the PKCS#8 PEM RSA private key used to sign GCS attribution JWTs (RS256). The corresponding public key must be published in the Workload Identity Pool provider’s uploaded JWKS. Required when GCS_PRINCIPAL_ATTRIBUTION_ENABLED=true; ignored otherwise.

  • Type: String
  • Default: ``

polaris.features."GCS_PRINCIPAL_ATTRIBUTION_SIGNING_KEY_ID"๐Ÿ”—

Key ID (kid) written into the header of GCS attribution JWTs so the Workload Identity Pool provider can select the right public key from its JWKS during key rotation (when the JWKS holds both the old and new keys). Must match the kid of the JWKS entry for the configured signing key. Empty omits the header (only safe with a single-key JWKS).

  • Type: String
  • Default: ``

polaris.features."GCS_PRINCIPAL_ATTRIBUTION_TOKEN_ISSUER"๐Ÿ”—

Issuer (iss claim) of catalog-minted GCS attribution JWTs; must match the issuer configured on the Workload Identity Pool OIDC provider. The provider verifies signatures against its uploaded JWKS, so no public discovery endpoint is required. Required when GCS_PRINCIPAL_ATTRIBUTION_ENABLED=true; ignored otherwise.

  • Type: String
  • Default: ``

polaris.features."GCS_PRINCIPAL_ATTRIBUTION_WIF_AUDIENCE"๐Ÿ”—

Full resource name of the Workload Identity Pool provider used for GCS principal attribution, e.g. //iam.googleapis.com/projects//locations/global/workloadIdentityPools//providers/. Used as both the attribution JWT ‘aud’ claim and the STS token-exchange audience. Required when GCS_PRINCIPAL_ATTRIBUTION_ENABLED=true; ignored otherwise.

  • Type: String
  • Default: ``

polaris.features."ICEBERG_COMMIT_MAX_RETRIES"๐Ÿ”—

The max number of times to try committing to an Iceberg table

  • Type: Integer
  • Default: 4
  • Catalog Config: polaris.config.iceberg-commit-max-retries

polaris.features."ICEBERG_ROLLBACK_COMPACTION_ON_CONFLICTS"๐Ÿ”—

Rollback replace snapshots created by compaction which have polaris.internal.conflict-resolution.by-operation-type.replace property set to rollback in their snapshot summary

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.rollback.compaction.on-conflicts.enabled

polaris.features."INCLUDE_PRINCIPAL_NAME_IN_SUBSCOPED_CREDENTIAL"๐Ÿ”—

If set to true, principal name will be included in temporary subscoped credentials. Currently only AWS credentials are supported for which session name of the generated credentials will look like ‘polaris-’ rather than simple ‘polaris’. Note that enabling this feature leads to degradation in temporary credential caching as catalog will no longer be able to reuse credentials for multiple principals.

  • Type: Boolean
  • Default: false

polaris.features."LIST_PAGINATION_ENABLED"๐Ÿ”—

If set to true, pagination for APIs like listTables is enabled.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.list-pagination-enabled

polaris.features."LIST_PAGINATION_MAX_PAGE_SIZE"๐Ÿ”—

The largest page size a client may request for APIs like listTables. Larger requested page sizes are reduced to this value. The Iceberg REST specification treats the requested page size as an upper bound. For local catalogs this takes effect only when LIST_PAGINATION_ENABLED is true; with pagination disabled the requested page size is ignored and the full result set is returned. For federated catalogs it always applies, because Polaris paginates those listings itself. Values <= 0 mean unlimited (no max page size enforced), which is the default. A request that supplies neither pageToken nor pageSize asks for the complete listing, so when the result does not fit the maximum it is rejected rather than truncated and answered with a continuation token. An empty pageToken starts a paginated listing and is capped like any other paginated request.

  • Type: Integer
  • Default: -1
  • Catalog Config: polaris.config.list-pagination-max-page-size

polaris.features."MAX_METADATA_REFRESH_RETRIES"๐Ÿ”—

How many times to retry refreshing metadata when the previous error was retryable

  • Type: Integer
  • Default: 2

polaris.features."METRICS_QUERY_DEFAULT_PAGE_SIZE"๐Ÿ”—

The page size used by the metrics reports query API when a request supplies neither a pageToken nor a pageSize. The metrics query API always paginates; it ignores LIST_PAGINATION_ENABLED. Values below 1 are treated as 1.

  • Type: Integer
  • Default: 100

polaris.features."METRICS_QUERY_DEFAULT_TIME_WINDOW_DAYS"๐Ÿ”—

The time window, in days, applied by the metrics reports query API when a request omits timestampFrom. The window ends at timestampTo, or at the current time when timestampTo is also omitted. Values below 1 are treated as 1.

  • Type: Integer
  • Default: 7

polaris.features."METRICS_QUERY_MAX_OBJECTS"๐Ÿ”—

The maximum number of entries allowed in the objects list of a single metrics reports query. Each entry selects one table, optionally restricted to one snapshot, so this also bounds the number of table/snapshot selectors sent to the metrics backend. Requests above the limit are rejected with a 400.

  • Type: Integer
  • Default: 100

polaris.features."METRICS_QUERY_MAX_PAGE_SIZE"๐Ÿ”—

The largest page size a client may request from the metrics reports query API. Larger requested page sizes are reduced to this value. Values below 1 are treated as 1.

  • Type: Integer
  • Default: 1000

polaris.features."OPTIMIZED_SIBLING_CHECK"๐Ÿ”—

When set, Polaris uses an index to check overlap against base locations of tables, views, and namespaces across the catalog. If ALLOW_UNSTRUCTURED_TABLE_LOCATION is enabled (or the catalog is external), siblings are still listed when the index finds no conflict, to check sibling tables’ write.data.path and write.metadata.path properties. Only enable it when the required index and backfill state is known to be correct. Locations written by Polaris always end with a slash; locations stored by older versions without one are still handled. Supported by the JDBC and NoSQL metastore implementations.

  • Type: Boolean
  • Default: false

polaris.features."POLARIS_TASK_TIMEOUT_MILLIS"๐Ÿ”—

Polaris task expiry timeout (milliseconds). Older unfinished tasks may not be processed.

  • Type: Long
  • Default: 300000

polaris.features."PURGE_VIEW_METADATA_ON_DROP"๐Ÿ”—

If set to true, Polaris will attempt to delete view metadata files when a view is dropped.

  • Type: Boolean
  • Default: true
  • Catalog Config: polaris.config.purge-view-metadata-on-drop

polaris.features."RESOLVE_CREDENTIALS_BY_STORAGE_NAME"๐Ÿ”—

If set to true, resolve AWS and Azure credentials based on the storageName field of the storage configuration. When disabled, the default credentials are used for all storages.

  • Type: Boolean
  • Default: false

polaris.features."SESSION_NAME_FIELDS_IN_SUBSCOPED_CREDENTIAL"๐Ÿ”—

Ordered list of fields to include in the session name during credential vending. Applies to systems that support session-based sub-scoped credentials (e.g. S3 with STS). Fields are joined with ‘-’ and prefixed with ‘p-’ by default. The result is truncated to 64 characters (the AWS STS session name limit); budget unused by a short field flows to subsequent fields. When empty (default), falls back to INCLUDE_PRINCIPAL_NAME_IN_SUBSCOPED_CREDENTIAL behaviour. Supported fields: realm, catalog, namespace, table, principal Field order is significant: fields appear in the session name in the order listed. Changing the order changes the session name structure and will affect CloudTrail queries. To customise the prefix, include a ‘prefix-X’ token (e.g. ‘prefix-myorg’ sets the prefix to ‘myorg-’). Defaults to ‘p-’. Example: [“realm”,“catalog”,“table”,“principal”] produces session names like ‘p-acme-hr_catalog-employee-etl_writer’ (truncated to 64 chars). Note: enabling this flag may reduce credential cache reuse when context-specific fields (e.g. table, namespace) are included, since credentials are keyed partly on session name.

  • Type: List<String>
  • Default: []

polaris.features."SESSION_TAGS_IN_SUBSCOPED_CREDENTIAL"๐Ÿ”—

A comma-separated list of fields to include as session tags in AWS STS AssumeRole requests for credential vending. These tags appear in CloudTrail events, enabling correlation between catalog operations and S3 data access. An empty list (default) disables session tags entirely. Requires the IAM role trust policy to allow sts:TagSession action. Supported fields: realm, catalog, namespace, table, principal, roles, trace_id Note: each additional field may contribute to AWS STS packed policy size (max 2048 characters). Fields with long values (e.g. deeply nested namespaces) can cause STS policy size limit errors. Choose only the fields needed for your CloudTrail correlation requirements. WARNING: Including ’trace_id’ effectively eliminates credential cache reuse because every request has a unique trace ID. This may significantly increase latency and STS API costs.

  • Type: List<String>
  • Default: []

polaris.features."SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION"๐Ÿ”—

Test/dev-only. If true, bypass credential subscoping entirely: FileIO falls back to the server’s ambient credentials (pod IAM role, env vars, credential files). Intended for tests with fake storage paths (no real STS). NOT for production: those credentials are handed to every client, breaking defense-in-depth. For S3-compatible storage without STS, set stsUnavailable: true on the storage config instead.

  • Type: Boolean
  • Default: false

polaris.features."STORAGE_CREDENTIAL_CACHE_DURATION_SECONDS"๐Ÿ”—

How long to store storage credentials in the local cache. This should be less than STORAGE_CREDENTIAL_DURATION_SECONDS

  • Type: Integer
  • Default: 1800

polaris.features."STORAGE_CREDENTIAL_DURATION_SECONDS"๐Ÿ”—

Requested lifetime of vended storage credentials in seconds. Supported durations depend on the storage provider. For GCS, this sets the source token lifetime requested when impersonating a service account, up to one hour. Google determines the expiration of the downscoped token returned to clients.

  • Type: Integer
  • Default: 3600

polaris.features."SUPPORTED_CATALOG_CONNECTION_TYPES"๐Ÿ”—

The list of supported catalog connection types for federation

  • Type: List<String>
  • Default: [ICEBERG_REST]

polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES"๐Ÿ”—

The list of supported storage types for a catalog

  • Type: List<String>
  • Default: [S3, AZURE, GCS]
  • Catalog Config: polaris.config.supported.storage.types

polaris.features."SUPPORTED_EXTERNAL_CATALOG_AUTHENTICATION_TYPES"๐Ÿ”—

The list of supported authentication types for catalog federation

  • Type: List<String>
  • Default: [OAUTH, BEARER, GCP, SIGV4]

polaris.features."SUPPORTED_S3_CREDENTIAL_VENDING_MECHANISMS"๐Ÿ”—

The credential vending mechanisms an S3 catalog in this realm may name explicitly. Names are case-sensitive and must match a mechanism’s identifier exactly, for example STS. Apache Polaris supports STS, which is STS AssumeRole, and R2_LOCAL_SIGNING, which the Cloudflare R2 storage extension provides. A catalog that leaves credentialVendingMechanism empty uses the server’s default mechanism and is always allowed. Realm-level only; catalog properties cannot widen it. Enforced at catalog create and update, and when the server builds the storage integration that vends credentials for a catalog. A listed mechanism with no implementation in this server is reported at startup and refused at catalog create and update and whenever a credential is vended for a catalog that names it.

  • Type: List<String>
  • Default: [STS]

polaris.features."TABLE_METADATA_CLEANUP_BATCH_SIZE"๐Ÿ”—

Metadata batch size for tasks that clean up dropped tables’ files.

  • Type: Integer
  • Default: 10

polaris.behavior-changes๐Ÿ”—

Internal behavior change configurations. These are unstable and may be removed.

polaris.behavior-changes."ALLOW_NAMESPACE_CUSTOM_LOCATION"๐Ÿ”—

If set to true, allow namespaces with completely arbitrary locations. This should not affect credential vending.

  • Type: Boolean
  • Default: false
  • Catalog Config: polaris.config.namespace-custom-location.enabled

polaris.behavior-changes."ENTITY_CACHE_SOFT_VALUES"๐Ÿ”—

Whether or not to use soft values in the entity cache

  • Type: Boolean
  • Default: false

polaris.behavior-changes."STORAGE_CONFIGURATION_MAX_LOCATIONS"๐Ÿ”—

How many locations can be associated with a storage configuration, or -1 for unlimited locations

  • Type: Integer
  • Default: -1

polaris.behavior-changes."TABLE_OPERATIONS_MAKE_METADATA_CURRENT_ON_COMMIT"๐Ÿ”—

If true, BasePolarisTableOperations should mark the metadata that is passed into commit as current, and reuse it to skip a trip to object storage to re-construct the committed metadata again.

  • Type: Boolean
  • Default: true

polaris.behavior-changes."VALIDATE_VIEW_LOCATION_OVERLAP"๐Ÿ”—

If true, validate that view locations don’t overlap when views are created

  • Type: Boolean
  • Default: true

polaris.behavior-changes."VIEW_OPERATIONS_MAKE_METADATA_CURRENT_ON_COMMIT"๐Ÿ”—

If true, BasePolarisViewOperations should mark the metadata that is passed into commit as current, and reuse it to skip a trip to object storage to re-construct the committed metadata again.

  • Type: Boolean
  • Default: true

Authentication & Authorization๐Ÿ”—

polaris.authentication๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.authentication.typeinternalenum (INTERNAL, EXTERNAL, MIXED)The type of authentication to use.
polaris.authentication.credential-modeinternalenum (INTERNAL, EXTERNAL)The credential mode to use. Valid values are INTERNAL and EXTERNAL.

Internal mode is the default. When internal mode is used, callers must have a corresponding principal in the Polaris metastore, which serves as the authoritative source of truth for principals, roles, and grants.

When external mode is used, callers are authenticated entirely from the presented credentials and are not required to have a corresponding entity in the Polaris metastore. Note that when the presented credentials were issued by Polaris itself, a backing principal entity is always required, regardless of the credential mode.

External credential mode is only meaningful when an external IDP is used, that is, when the authentication type (#type()) is (AuthenticationType#EXTERNAL) or (AuthenticationType#MIXED). Also, this mode is not compatible with the default, built-in Polaris authorizer; an external authorizer (e.g., OPA or Ranger) must be configured.
polaris.authentication.authenticator.typedefaultstringThe type of the identity provider. Must be a registered (Authenticator) identifier.
polaris.authentication.token-service.typedefaultstringThe type of the OAuth2 service. Must be a registered (IcebergRestOAuth2ApiService) identifier.
polaris.authentication.token-broker.max-token-generationPT1HdurationThe maximum token duration.
polaris.authentication.token-broker.typersa-key-pairstringThe type of the token broker factory. Must be a registered (TokenBrokerFactory) identifier.
polaris.authentication.token-broker.rsa-key-pair.public-key-filepathThe path to the public key file.
polaris.authentication.token-broker.rsa-key-pair.private-key-filepathThe path to the private key file.
polaris.authentication.token-broker.symmetric-key.secretstringThe secret to use for both signing and verifying signatures. Either this option of (#file()) must be provided.
polaris.authentication.token-broker.symmetric-key.filepathThe file to read the secret from. Either this option of (#secret()) must be provided.
polaris.authentication.<realm>.typeinternalenum (INTERNAL, EXTERNAL, MIXED)The type of authentication to use.
polaris.authentication.<realm>.credential-modeinternalenum (INTERNAL, EXTERNAL)The credential mode to use. Valid values are INTERNAL and EXTERNAL.

Internal mode is the default. When internal mode is used, callers must have a corresponding principal in the Polaris metastore, which serves as the authoritative source of truth for principals, roles, and grants.

When external mode is used, callers are authenticated entirely from the presented credentials and are not required to have a corresponding entity in the Polaris metastore. Note that when the presented credentials were issued by Polaris itself, a backing principal entity is always required, regardless of the credential mode.

External credential mode is only meaningful when an external IDP is used, that is, when the authentication type (#type()) is (AuthenticationType#EXTERNAL) or (AuthenticationType#MIXED). Also, this mode is not compatible with the default, built-in Polaris authorizer; an external authorizer (e.g., OPA or Ranger) must be configured.
polaris.authentication.<realm>.authenticator.typedefaultstringThe type of the identity provider. Must be a registered (Authenticator) identifier.
polaris.authentication.<realm>.token-service.typedefaultstringThe type of the OAuth2 service. Must be a registered (IcebergRestOAuth2ApiService) identifier.
polaris.authentication.<realm>.token-broker.max-token-generationPT1HdurationThe maximum token duration.
polaris.authentication.<realm>.token-broker.typersa-key-pairstringThe type of the token broker factory. Must be a registered (TokenBrokerFactory) identifier.
polaris.authentication.<realm>.token-broker.rsa-key-pair.public-key-filepathThe path to the public key file.
polaris.authentication.<realm>.token-broker.rsa-key-pair.private-key-filepathThe path to the private key file.
polaris.authentication.<realm>.token-broker.symmetric-key.secretstringThe secret to use for both signing and verifying signatures. Either this option of (#file()) must be provided.
polaris.authentication.<realm>.token-broker.symmetric-key.filepathThe file to read the secret from. Either this option of (#secret()) must be provided.

polaris.authorization๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.authorization.typestring

Deprecated Use polaris.authorization.authorizer.type instead.
polaris.authorization.authorizer.typestringThe type of the authorizer. Must be a registered (org.apache.polaris.core.auth.PolarisAuthorizerFactory) identifier. Defaults to internal.

For the default realm, falls back to the legacy polaris.authorization.type property if this property is not set. A realm that sets a tenant-key must also set its type explicitly.
polaris.authorization.authorizer.tenant-keystringThe authorizer tenant key identifying which authorizer configuration to use. When present, refers to a named entry in the authorizer-specific tenant configuration (e.g. polaris.authorization.opa.<tenant-key>.*). When absent, the default (unnamed) configuration is used.
polaris.authorization.authorizer.<realm>.typestringThe type of the authorizer. Must be a registered (org.apache.polaris.core.auth.PolarisAuthorizerFactory) identifier. Defaults to internal.

For the default realm, falls back to the legacy polaris.authorization.type property if this property is not set. A realm that sets a tenant-key must also set its type explicitly.
polaris.authorization.authorizer.<realm>.tenant-keystringThe authorizer tenant key identifying which authorizer configuration to use. When present, refers to a named entry in the authorizer-specific tenant configuration (e.g. polaris.authorization.opa.<tenant-key>.*). When absent, the default (unnamed) configuration is used.

polaris.authorization.opa๐Ÿ”—

Configuration for OPA (Open Policy Agent) authorization.

Multiple OPA connections (“tenants”) can be configured. The unnamed tenant is configured directly under polaris.authorization.opa.* and is used by default. Named tenants are configured under polaris.authorization.opa.<tenant-key>.* and are selected per realm via polaris.authorization.authorizer.<realm>.tenant-key.

PropertyDefault ValueTypeDescription
polaris.authorization.opa.policy-uriuri
polaris.authorization.opa.context-properties.<name>stringOperator-defined static properties emitted verbatim in the OPA input under context.properties. Intended for values that identify the deployment, such as an environment or tier name. These values are visible to OPA and appear in its decision logs; do not use them for credentials.
polaris.authorization.opa.auth.typenoneenum (NONE, BEARER)Type of authentication
polaris.authorization.opa.auth.bearer.static-token.valuestringStatic bearer token value
polaris.authorization.opa.auth.bearer.file-based.pathpathPath to file containing bearer token
polaris.authorization.opa.auth.bearer.file-based.refresh-intervaldurationHow often to refresh file-based bearer tokens (defaults to 5 minutes if not specified)
polaris.authorization.opa.auth.bearer.file-based.jwt-expiration-refreshbooleanWhether to automatically detect JWT tokens and use their ’exp’ field for refresh timing. If true and the token is a valid JWT with an ’exp’ claim, the token will be refreshed based on the expiration time minus the buffer, rather than the fixed refresh interval. Defaults to true if not specified.
polaris.authorization.opa.auth.bearer.file-based.jwt-expiration-bufferdurationBuffer time before JWT expiration to refresh the token. Only used when jwtExpirationRefresh is true and the token is a valid JWT. Defaults to 1 minute if not specified.
polaris.authorization.opa.auth.bearer.file-based.initial-token-waitdurationHow long to wait for the first token load before failing a request. Defaults to 5 seconds.
polaris.authorization.opa.auth.bearer.file-based.refresh-retry-intervaldurationHow long to wait before retrying after a failed token refresh. Defaults to 1 second.
polaris.authorization.opa.http.timeoutPT2Sduration
polaris.authorization.opa.http.verify-ssltrueboolean
polaris.authorization.opa.http.trust-store-pathpath
polaris.authorization.opa.http.trust-store-passwordstring
polaris.authorization.opa.<tenant-key>.policy-uriuri
polaris.authorization.opa.<tenant-key>.context-properties.<name>stringOperator-defined static properties emitted verbatim in the OPA input under context.properties. Intended for values that identify the deployment, such as an environment or tier name. These values are visible to OPA and appear in its decision logs; do not use them for credentials.
polaris.authorization.opa.<tenant-key>.auth.typenoneenum (NONE, BEARER)Type of authentication
polaris.authorization.opa.<tenant-key>.auth.bearer.static-token.valuestringStatic bearer token value
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.pathpathPath to file containing bearer token
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.refresh-intervaldurationHow often to refresh file-based bearer tokens (defaults to 5 minutes if not specified)
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.jwt-expiration-refreshbooleanWhether to automatically detect JWT tokens and use their ’exp’ field for refresh timing. If true and the token is a valid JWT with an ’exp’ claim, the token will be refreshed based on the expiration time minus the buffer, rather than the fixed refresh interval. Defaults to true if not specified.
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.jwt-expiration-bufferdurationBuffer time before JWT expiration to refresh the token. Only used when jwtExpirationRefresh is true and the token is a valid JWT. Defaults to 1 minute if not specified.
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.initial-token-waitdurationHow long to wait for the first token load before failing a request. Defaults to 5 seconds.
polaris.authorization.opa.<tenant-key>.auth.bearer.file-based.refresh-retry-intervaldurationHow long to wait before retrying after a failed token refresh. Defaults to 1 second.
polaris.authorization.opa.<tenant-key>.http.timeoutPT2Sduration
polaris.authorization.opa.<tenant-key>.http.verify-ssltrueboolean
polaris.authorization.opa.<tenant-key>.http.trust-store-pathpath
polaris.authorization.opa.<tenant-key>.http.trust-store-passwordstring

polaris.oidc๐Ÿ”—

Polaris-specific configuration for OIDC tenants.

PropertyDefault ValueTypeDescription
polaris.oidc.principal-mapper.id-claim-pathstringThe path to the claim that contains the principal ID. Nested paths can be expressed using “/” as a separator, e.g. "resource_access/client1/roles" would look for the “roles” field inside the “client1” object inside the “resource_access” object in the token claims.

Optional. Either this option or (#nameClaimPath()) must be provided.
polaris.oidc.principal-mapper.name-claim-pathstringThe claim that contains the principal name. Nested paths can be expressed using “/” as a separator, e.g. "resource_access/client1/roles" would look for the “roles” field inside the “client1” object inside the “resource_access” object in the token claims.

Optional when using internal credential mode, in which case either this option or (#idClaimPath()) must be provided.

Required when using external credential mode (polaris.authentication.credential-mode=EXTERNAL), since external principals are identified exclusively by name.
polaris.oidc.principal-mapper.typedefaultstringThe type of the principal mapper. Must be a registered (org.apache.polaris.service.auth.external.mapping.PrincipalMapper) identifier.
polaris.oidc.principal-roles-mapper.typedefaultstringThe type of the principal roles mapper. Must be a registered (org.apache.polaris.service.auth.external.mapping.PrincipalRolesMapper) identifier.
polaris.oidc.principal-roles-mapper.filterstringA regular expression that matches the role names in the identity. Only roles that match this regex will be included in the Polaris-specific roles.
polaris.oidc.principal-roles-mapper.mappingslist ofA list of regex mappings that will be applied to each role name in the identity.
polaris.oidc.principal-roles-mapper.mappings.regexstringA regular expression that will be applied to each role name in the identity. Along with (#replacement()), this regex is used to transform the role names in the identity into Polaris-specific roles.
polaris.oidc.principal-roles-mapper.mappings.replacementstringThe replacement string for the role names in the identity. This is used along with (#regex()) to transform the role names in the identity into Polaris-specific roles.
polaris.oidc.<tenant>.principal-mapper.id-claim-pathstringThe path to the claim that contains the principal ID. Nested paths can be expressed using “/” as a separator, e.g. "resource_access/client1/roles" would look for the “roles” field inside the “client1” object inside the “resource_access” object in the token claims.

Optional. Either this option or (#nameClaimPath()) must be provided.
polaris.oidc.<tenant>.principal-mapper.name-claim-pathstringThe claim that contains the principal name. Nested paths can be expressed using “/” as a separator, e.g. "resource_access/client1/roles" would look for the “roles” field inside the “client1” object inside the “resource_access” object in the token claims.

Optional when using internal credential mode, in which case either this option or (#idClaimPath()) must be provided.

Required when using external credential mode (polaris.authentication.credential-mode=EXTERNAL), since external principals are identified exclusively by name.
polaris.oidc.<tenant>.principal-mapper.typedefaultstringThe type of the principal mapper. Must be a registered (org.apache.polaris.service.auth.external.mapping.PrincipalMapper) identifier.
polaris.oidc.<tenant>.principal-roles-mapper.typedefaultstringThe type of the principal roles mapper. Must be a registered (org.apache.polaris.service.auth.external.mapping.PrincipalRolesMapper) identifier.
polaris.oidc.<tenant>.principal-roles-mapper.filterstringA regular expression that matches the role names in the identity. Only roles that match this regex will be included in the Polaris-specific roles.
polaris.oidc.<tenant>.principal-roles-mapper.mappingslist ofA list of regex mappings that will be applied to each role name in the identity.
polaris.oidc.<tenant>.principal-roles-mapper.mappings.regexstringA regular expression that will be applied to each role name in the identity. Along with (#replacement()), this regex is used to transform the role names in the identity into Polaris-specific roles.
polaris.oidc.<tenant>.principal-roles-mapper.mappings.replacementstringThe replacement string for the role names in the identity. This is used along with (#regex()) to transform the role names in the identity into Polaris-specific roles.
polaris.oidc.tenant-resolver.typedefaultstringThe type of the OIDC tenant resolver. Must be a registered (OidcTenantResolver) implementation.

polaris.service-identity๐Ÿ”—

Configuration interface for managing service identities across multiple realms in Polaris.

A service identity represents the Polaris service itself when it needs to authenticate to external systems (e.g., AWS services for SigV4 authentication). Each realm can configure its own set of service identities for different cloud providers.

This interface supports multi-tenant deployments where each realm (tenant) can have distinct service identities, as well as single-tenant deployments with a default configuration shared across all catalogs.

Configuration is loaded from polaris.service-identity.* properties at startup and includes credentials that Polaris uses to assume customer-provided roles when accessing federated catalogs.

Example Configuration:

 # Default service identity (used when no realm-specific configuration exists)
 polaris.service-identity.aws-iam.iam-arn=arn:aws:iam::123456789012:user/polaris-default-user
 # Optional: provide static credentials, or omit to use AWS default credential chain
 polaris.service-identity.aws-iam.access-key-id=<access-key-id>
 polaris.service-identity.aws-iam.secret-access-key=<secret-access-key>
 polaris.service-identity.aws-iam.session-token=<optional-session-token>
 # Realm-specific service identity for multi-tenant deployments
 polaris.service-identity.my-realm.aws-iam.iam-arn=arn:aws:iam::123456789012:user/my-realm-user
 polaris.service-identity.my-realm.aws-iam.access-key-id=<access-key-id>
 polaris.service-identity.my-realm.aws-iam.secret-access-key=<secret-access-key>
PropertyDefault ValueTypeDescription
polaris.service-identity.aws-iam.iam-arnstringThe IAM role or user ARN representing the service identity. If not provided, Polaris won’t surface it in the catalog identity.
polaris.service-identity.aws-iam.access-key-idstringOptional AWS access key ID associated with the IAM identity. If not provided, the AWS default credential chain will be used.
polaris.service-identity.aws-iam.secret-access-keystringOptional AWS secret access key associated with the IAM identity. If not provided, the AWS default credential chain will be used.
polaris.service-identity.aws-iam.session-tokenstringOptional AWS session token associated with the IAM identity. If not provided, the AWS default credential chain will be used.
polaris.service-identity.<realm>.aws-iam.iam-arnstringThe IAM role or user ARN representing the service identity. If not provided, Polaris won’t surface it in the catalog identity.
polaris.service-identity.<realm>.aws-iam.access-key-idstringOptional AWS access key ID associated with the IAM identity. If not provided, the AWS default credential chain will be used.
polaris.service-identity.<realm>.aws-iam.secret-access-keystringOptional AWS secret access key associated with the IAM identity. If not provided, the AWS default credential chain will be used.
polaris.service-identity.<realm>.aws-iam.session-tokenstringOptional AWS session token associated with the IAM identity. If not provided, the AWS default credential chain will be used.

Storage & Credentials๐Ÿ”—

polaris.storage๐Ÿ”—

Configuration interface containing parameters for clients accessing S3 services from Polaris servers.

Applies to the STS client pool and to Iceberg S3 clients created for table operations via S3FileIO.

PropertyDefault ValueTypeDescription
polaris.storage.aws.access-keystringThe AWS access key to use for authentication. If not present, the default credentials provider chain will be used.
polaris.storage.aws.secret-keystringThe AWS secret key to use for authentication. If not present, the default credentials provider chain will be used.
polaris.storage.aws.<storage>.access-keystringThe AWS access key to use for authentication when using named storages.
polaris.storage.aws.<storage>.secret-keystringThe AWS secret key to use for authentication when using named storages.
polaris.storage.gcp.tokenstringThe GCP access token to use for authentication. If not present, the default credentials provider chain will be used.
polaris.storage.gcp.lifespandurationHow far in the future the configured GCP access token’s expiry is stamped. The expiry is computed once, when the credential is created, and is returned unchanged on every refresh. If not present, the default token lifespan (null) is used. Ignored when (#gcpAccessTokenExpiry()) is set. This does not extend the token’s real validity on the provider side; it only controls the expiry Polaris reports for the configured token.
polaris.storage.gcp.expiryinstantA fixed expiry for the configured GCP access token, as an ISO-8601 instant (for example 2027-01-01T00:00:00Z). When present, this exact instant is reported as the token’s expiry and is returned unchanged on every refresh, and (#gcpAccessTokenLifespan()) is ignored. When absent, the expiry is computed from the lifespan. Like the lifespan, this does not extend the token’s real validity on the provider side; it only controls the expiry Polaris reports for the configured token.
polaris.storage.azure.tenant-idstringThe Microsoft Entra tenant of the service principal to use for authentication. If the tenant, client ID and client secret are not present, the DefaultAzureCredential chain is used. It must match the tenantId of every storage configuration that uses these credentials.
polaris.storage.azure.client-idstringThe application (client) ID of the service principal to use for authentication. If the tenant, client ID and client secret are not present, the DefaultAzureCredential chain is used.
polaris.storage.azure.client-secretstringThe client secret of the service principal to use for authentication. If the tenant, client ID and client secret are not present, the DefaultAzureCredential chain is used.
polaris.storage.azure.<storage>.tenant-idstringThe Microsoft Entra tenant of the service principal when using named storages. It must match the tenantId of every storage configuration that uses this name.
polaris.storage.azure.<storage>.client-idstringThe application (client) ID of the service principal when using named storages.
polaris.storage.azure.<storage>.client-secretstringThe client secret of the service principal when using named storages.
polaris.storage.clients-cache-max-sizeintMaximum number of entries to keep in the STS clients cache.
polaris.storage.max-http-connectionsintOverride the default maximum number of pooled connections.
polaris.storage.read-timeoutdurationOverride the default connection read timeout.
polaris.storage.connect-timeoutdurationOverride the default TCP connect timeout.
polaris.storage.connection-acquisition-timeoutdurationOverride default connection acquisition timeout. This is the time a request will wait for a connection from the pool.
polaris.storage.connection-max-idle-timedurationOverride default max idle time of a pooled connection.
polaris.storage.connection-time-to-livedurationOverride default time-to-live of a pooled connection.
polaris.storage.expect-continue-enabledbooleanOverride default behavior whether to expect an HTTP/100-Continue.

polaris.storage.cloudflare-r2๐Ÿ”—

Cloudflare R2 parent API tokens. The R2_LOCAL_SIGNING credential vending mechanism signs temporary credentials for S3 catalogs from one of these tokens.

The realm feature RESOLVE_CREDENTIALS_BY_STORAGE_NAME selects the token. When it is false (the default), every R2 catalog uses the default access-key and secret-key, and the catalog’s storageName is ignored. When it is true, a catalog without a storageName uses the default token, and a catalog with a storageName uses polaris.storage.cloudflare-r2.<storage>.*. A name without a configured token is refused.

A named token needs both access-key and secret-key, so a name with only one of them fails the server start.

A named token set through environment variables gets its storage name in lower case: POLARIS_STORAGE_CLOUDFLARE_R2_PROD_ACCESS_KEY sets the access key for the storage name prod. Use environment variables only for a storage name of lower-case letters and digits with no separator. The server silently ignores a variable such as POLARIS_STORAGE_CLOUDFLARE_R2_TEAM_A_ACCESS_KEY, so no storage name gets that token. Set the token for any other name in application.properties or as a -D system property. Quote a name that holds a dot: polaris.storage.cloudflare-r2."prod.eu".access-key. Without the quotes, the server start fails.

There is no ambient credential chain for R2, so a catalog without a configured token cannot vend credentials. The secret keys exist only in this server configuration. Catalog storage configs carry no secret. An R2 catalog sets an S3 endpoint, so the realm feature ALLOW_SETTING_S3_ENDPOINTS must stay true (the default).

A vended credential has these limits:

  • A read-write credential can also delete and list objects within its prefixes.
  • A table at the bucket root gets a credential for the whole bucket.
  • A credential stays valid until it expires, and only revoking the parent token ends it early.
  • The tokens are server-wide: every realm that allows R2_LOCAL_SIGNING uses them.
  • Whoever can create or update a catalog (CATALOG_CREATE or CATALOG_WRITE_PROPERTIES) chooses the buckets, the endpoint, and the storage name within the parent token’s reach, so the parent token should cover only the buckets the realm needs.

While quarkus.config.mapping.validate-unknown is true (the default), a server build without this extension aborts at startup with SRCFG00050 on a polaris.storage.cloudflare-r2.* system property.

PropertyDefault ValueTypeDescription
polaris.storage.cloudflare-r2.access-keystringAccess key id of the default Cloudflare R2 parent API token. The parent token must carry Object Read and Write permission on every bucket the catalogs use; a temporary credential cannot exceed it. The default token counts as set only when both access-key and secret-key are set.
polaris.storage.cloudflare-r2.secret-keystringSecret access key of the default Cloudflare R2 parent API token.
polaris.storage.cloudflare-r2.<storage>.access-keystringAccess key id of the Cloudflare R2 parent API token for catalogs with this storageName. The parent token must carry Object Read and Write permission on every bucket those catalogs use; a temporary credential cannot exceed it.
polaris.storage.cloudflare-r2.<storage>.secret-keystringSecret access key of the Cloudflare R2 parent API token for catalogs with this storageName.

polaris.storage-credential-cache๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.storage-credential-cache.max-entries10000long

polaris.credential-manager๐Ÿ”—

Quarkus configuration mapping for Polaris Credential Manager.

Defines which (PolarisCredentialManager) implementation should be used at runtime. This allows switching between different credential management strategies via configuration.

PropertyDefault ValueTypeDescription
polaris.credential-manager.typestringThe type identifier of the PolarisCredentialManager implementation to use. This corresponds to the @Identifier annotation value on the implementation (e.g., “default”).

polaris.secrets-manager๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.secrets-manager.typestringThe type of the UserSecretsManagerFactory to use. This is the (org.apache.polaris.core.secrets.UserSecretsManagerFactory) identifier.

polaris.file-io๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.file-io.typestringThe type of the catalog IO to use. Must be a registered (org.apache.polaris.service.catalog.io.FileIOFactory) identifier.

Persistence๐Ÿ”—

polaris.persistence๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.persistence.typestringThe type of the persistence to use. Must be a registered (org.apache.polaris.core.persistence.MetaStoreManagerFactory) identifier.
polaris.persistence.auto-bootstrap-typeslist of string
polaris.persistence.reference-previous-head-count20int
polaris.persistence.max-index-stripes20int
polaris.persistence.max-embedded-index-size32kMemorySize
polaris.persistence.max-index-stripe-size128kMemorySize
polaris.persistence.retry.timeoutPT15SdurationMaximum allowed time until a retry-loop and commits (Committer#commit(CommitRetryable)) fails with a (RetryTimeoutException), defaults to “PT15S”.
polaris.persistence.retry.retries10000intMaximum number of allowed retries, defaults to “10000”.
polaris.persistence.retry.initial-sleep-lowerPT0.010SdurationInitial lower bound for a retry-sleep duration for the retry-loop, defaults to (PT0.010S). This value will be doubled after each retry, as long as (#maxSleep()) is not exceeded. A concrete sleep duration will be randomly chosen between the current lower and upper bounds.
polaris.persistence.retry.initial-sleep-upperPT0.020SdurationInitial upper bound for a retry-sleep duration for the retry-loop, defaults to (PT0.020S). This value will be doubled after each retry, as long as (#maxSleep()) is not exceeded. A concrete sleep duration will be randomly chosen between the current lower and upper bounds.
polaris.persistence.retry.max-sleepPT0.250SdurationMaximum retry-sleep duration, defaults to (PT0.250S).
polaris.persistence.retry.fair-retriesSLEEPINGenum (UNFAIR, SLEEPING)Without mitigation, very frequently started retry-loops running against highly contended resources can result in some retry-loops invocations never making any progress and eventually time out.

The default “fair retries type” helps in these scenarios with sacrificing the overall throughput too much.

Locally synchronized commits use a fair semaphore instead of fairness sleeps; conflict retry backoff still applies.
polaris.persistence.bucketized-bulk-fetch-size16intThe number of objects to fetch at once via (Persistence#bucketizedBulkFetches(Stream,<br> Class)).
polaris.persistence.max-serialized-value-size350kMemorySizeThe maximum size of a serialized value in a persisted database row.

polaris.persistence.cache๐Ÿ”—

Persistence cache configuration.

PropertyDefault ValueTypeDescription
polaris.persistence.cache.enabletruebooleanOptionally disable the cache, the default value is true, meaning that the cache is enabled by default.
polaris.persistence.cache.reference-ttlPT15MdurationDuration to cache the state of references.
polaris.persistence.cache.reference-negative-ttldurationDuration to cache whether a reference does not exist (negative caching).
polaris.persistence.cache.sizing.fraction-of-max-heap-sizedoubleFraction of Javaโ€™s max heap size to use for cache objects, set to 0 to disable. Must not be used with fixed cache sizing. If neither this value nor a fixed size is configured, a default of .4 (40%) is assumed, if enable-soft-references is enabled, else .6 (60%) is assumed.
polaris.persistence.cache.sizing.fraction-min-size64MMemorySizeWhen using fractional cache sizing, this amount in MB is the minimum cache size.
polaris.persistence.cache.sizing.fraction-adjustment256MMemorySizeWhen using fractional cache sizing, this amount in MB of the heap will always be “kept free” when calculating the cache size.
polaris.persistence.cache.sizing.fixed-sizeMemorySizeCapacity of the persistence cache in MiB.
polaris.persistence.cache.sizing.cache-capacity-overshoot0.1doubleAdmitted cache-capacity-overshoot fraction, defaults to 0.1 (10 %).

New elements are admitted to be added to the cache, if the cache’s size is less than cache-capacity * (1 + cache-capacity-overshoot.

Cache eviction happens asynchronously. Situations when eviction cannot keep up with the amount of data added could lead to out-of-memory situations.

The value, if present, must be greater than 0.

polaris.persistence.distributed-cache-invalidations๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.persistence.distributed-cache-invalidations.service-nameslist of stringHost names, IP addresses, or Kubernetes headless-service name of all Polaris server instances accessing the same repository, used by the default DNS peer discovery implementation.

This value is not configured automatically. For a multi-instance deployment, configure peer discovery; for the default DNS implementation set the host names, IP addresses, or the Kubernetes headless-service name of all Polaris instances here. Cache invalidations are only sent between instances when both peer discovery and valid-tokens are configured.

Names that start with an equal sign are not resolved but used “as is”.
polaris.persistence.distributed-cache-invalidations.valid-tokenslist of stringList of cache-invalidation tokens to authenticate incoming cache-invalidation messages.

The first token is used in outgoing cache-invalidation messages.
polaris.persistence.distributed-cache-invalidations.uri/polaris-management/cache-coherencystringURI of the cache-invalidation endpoint, only available on the Quarkus management port, defaults to 9000.
polaris.persistence.distributed-cache-invalidations.service-name-lookup-intervalPT10SdurationInterval between peer discovery refreshes.
polaris.persistence.distributed-cache-invalidations.initial-discovery-requiredtruebooleanWhether startup fails when the initial peer discovery request fails.

A successful empty peer snapshot does not fail startup. When disabled, discovery failures are retried in the background.
polaris.persistence.distributed-cache-invalidations.batch-size20intMaximum number of cache-invalidation messages to send in a single request to peer nodes.
polaris.persistence.distributed-cache-invalidations.request-timeoutdurationRequest timeout for sent cache-invalidation messages. Timeouts trigger a warning or error message.
polaris.persistence.distributed-cache-invalidations.dns.query-timeoutPT5SdurationTimeout for DNS queries performed by the default peer discovery implementation.

polaris.persistence.nosql๐Ÿ”—

Polaris persistence backend configuration.

PropertyDefault ValueTypeDescription
polaris.persistence.nosql.backendstringName of the persistence backend to use.

polaris.persistence.nosql.maintenance๐Ÿ”—

Maintenance service configuration.

PropertyDefault ValueTypeDescription
polaris.persistence.nosql.maintenance.expected-reference-count100longProvides the expected number of references in all realms to retain, defaults to 100, must be at least 100. This value is used as the default if no information of a previous maintenance run is present, it is also the minimum number of expected references.
polaris.persistence.nosql.maintenance.expected-obj-count100000longProvides the expected number of objects in all realms to retain, defaults to 100000, must be at least 100000. This value is used as the default if no information of a previous maintenance run is present, it is also the minimum number of expected objects.
polaris.persistence.nosql.maintenance.count-from-last-run-multiplier1.1doubleMaintenance service sizes the bloom-filters used to hold the identified references and objects according to the expression lastRun.numberOfIdentified * countFromLastRunMultiplier. The default is to add 10% to the number of identified items.
polaris.persistence.nosql.maintenance.filter-initialized-fpp1.0E-5doubleFalse-positive-probability (FPP) used to initialize the bloom-filters for identified references and objects.
polaris.persistence.nosql.maintenance.max-acceptable-filter-fpp5.0E-5doubleExpected maximum false-positive-probability (FPP) used to check the bloom-filters for identified references and objects.

If the FPP of a bloom filter exceeds this value, no individual references or objects will be purged.
polaris.persistence.nosql.maintenance.retained-runs50intNumber of retained maintenance run objects (MaintenanceRunInformation), must be at least 2.
polaris.persistence.nosql.maintenance.created-at-grace-timePT3HdurationObjects and references that have been created after a maintenance run has started are never purged. This option defines an additional grace time to when the maintenance run has started.

This value is a safety net for two reasons:

* Respect the wall-clock drift between Polaris nodes.
* Respect the order of writes in Polaris persistence. Objects are written before those become reachable via a commit. Commits may take a little time (milliseconds, up to a few seconds, depending on the system load) to complete. Therefore, implementations enforce a minimum of 5 minutes.

polaris.persistence.nosql.maintenance.object-scan-rate-limit-per-secondintOptionally limit the number of object parts scanned or fetched during retained-object identification per second, including non-recording cleanup reads. The limit is shared across realms during identification. Default is unlimited. Large fetch batches may cause temporary bursts.
polaris.persistence.nosql.maintenance.reference-scan-rate-limit-per-secondintOptionally limit the number of references scanned or fetched during retained-object identification per second, including non-recording cleanup reads. The limit is shared across realms during identification. Default is unlimited.
polaris.persistence.nosql.maintenance.delete-batch-size10intSize of the delete-batches when purging objects.

polaris.persistence.nosql.maintenance.catalog๐Ÿ”—

No SQL persistence implementation of Polaris stores a history of changes per kind of object (principals, principal roles, grants, immediate tasks, catalog roles and catalog state).

The rules are defined using a CEL script. The default rules for all kinds of objects are to retain the history for 3 days, for the catalog state for 30 days.

The scripts have access to the following declared values:

  • ref (string) name of the reference
  • commits (64-bit int) number of the currently processed commit, starting at 1
  • ageDays (64-bit int) age of currently processed commit in days
  • ageHours (64-bit int) age of currently processed commit in hours
  • ageMinutes (64-bit int) age of currently processed commit in minutes

Scripts must return a boolean yielding whether the commit shall be retained. Note that maintenance-service implementations can keep the first not-to-be-retained commit.

Example scripts

  • ageDays < 30 || commits <= 10 retains the reference history with at least 10 commits and commits that are younger than 30 days
  • true retains the whole reference history
  • false retains the most recent commit
PropertyDefault ValueTypeDescription
polaris.persistence.nosql.maintenance.catalog.principals-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.principal-roles-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.grants-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.immediate-tasks-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.catalogs-history-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.catalog-roles-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.catalog-policies-retainfalsestring
polaris.persistence.nosql.maintenance.catalog.catalog-state-retainfalsestring

polaris.persistence.nosql.mongodb๐Ÿ”—

Polaris persistence, MongoDB backend specific configuration.

PropertyDefault ValueTypeDescription
polaris.persistence.nosql.mongodb.connection-stringstring
polaris.persistence.nosql.mongodb.database-namestring
polaris.persistence.nosql.mongodb.allow-prefix-deletionbooleanOptionally enable realm-deletion using a prefix-delete.

Prefix-deletion is disabled by default.

polaris.persistence.nosql.dynamodb๐Ÿ”—

Polaris persistence, DynamoDB backend specific configuration.

PropertyDefault ValueTypeDescription
polaris.persistence.nosql.dynamodb.table-prefixstring
polaris.persistence.nosql.dynamodb.endpoint-uristring
polaris.persistence.nosql.dynamodb.regionstring

polaris.persistence.relational.jdbc๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.persistence.relational.jdbc.max-retriesint
polaris.persistence.relational.jdbc.max-duration-in-mslong
polaris.persistence.relational.jdbc.initial-delay-in-mslong
polaris.persistence.relational.jdbc.database-typestring

Events๐Ÿ”—

polaris.event-listener๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.event-listener.typestringThe type of the event listener to use. Must be a registered (PolarisEventListener) identifier.

Deprecated since 1.5.0, use ‘polaris.event-listener.types’ instead, if both are set, then polaris.event-listener.types is prioritized
polaris.event-listener.typeslist of stringComma separated list of event listeners, each item must be a registered (PolarisEventListener) identifier.
polaris.event-listener.denylisted-attributeslist of stringComma-separated list of additional EventAttributes key names to deny from downstream listeners. These are added to the built-in denylist in (DefaultEventSanitizer).
polaris.event-listener.<name>.enabled-event-typeslist of enum (BEFORE_CREATE_CATALOG, AFTER_CREATE_CATALOG, BEFORE_DELETE_CATALOG, …)Comma separated list of enabled event types. This event listener will only receive events of the selected types. If both the event types and event category configs are set, the listener will listen to both. If no listener configuration is present, then all event types are enabled.
polaris.event-listener.<name>.enabled-event-categorieslist of enum (CATALOG, NAMESPACE, TABLE, …)Comma separated list of enabled event type categories. Each category is a collection of related Polaris event types. This event listener will only receive events of the selected event category, for example, consume only catalog events. If both the event types and event category configs are set, the listener will listen to both. If no listener configuration is present, then all event types are enabled.
polaris.event-listener.executor.pool-size-1intThe thread pool size. The default is -1, which is interpreted as the number of available listeners, capped by the number of cores
polaris.event-listener.executor.queue-size-1intThe queue size. The default is -1, which is interpreted as unbounded. This limit is applied globally and affects all listeners. To configure the per-listener queue size, use polaris.event-listener.listener-backlog.queue-size instead.
polaris.event-listener.listener-backlog.queue-size-1intThe per-listener backlog queue size. The default is -1, which is interpreted as unbounded. A bounded backlog means event delivery is best-effort and events will be dropped/logged when the backlog is full.

polaris.event-listener.persistence-in-memory-buffer๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.event-listener.persistence-in-memory-buffer.buffer-time5000msduration
polaris.event-listener.persistence-in-memory-buffer.max-buffer-size5int

polaris.event-listener.aws-cloudwatch๐Ÿ”—

Configuration interface for AWS CloudWatch event listener integration.

PropertyDefault ValueTypeDescription
polaris.event-listener.aws-cloudwatch.log-grouppolaris-cloudwatch-default-groupstringReturns the AWS CloudWatch log group name for event logging.

The log group is a collection of log streams that share the same retention, monitoring, and access control settings. If not specified, defaults to “polaris-cloudwatch-default-group”.

Configuration property: polaris.event-listener.aws-cloudwatch.log-group
polaris.event-listener.aws-cloudwatch.log-streampolaris-cloudwatch-default-streamstringReturns the AWS CloudWatch log stream name for event logging.

A log stream is a sequence of log events that share the same source. Each log stream belongs to one log group. If not specified, defaults to “polaris-cloudwatch-default-stream”.

Configuration property: polaris.event-listener.aws-cloudwatch.log-stream
polaris.event-listener.aws-cloudwatch.regionus-east-1stringReturns the AWS region where CloudWatch logs should be sent.

This specifies the AWS region for the CloudWatch service endpoint. The region must be a valid AWS region identifier. If not specified, defaults to “us-east-1”.

Configuration property: polaris.event-listener.aws-cloudwatch.region
polaris.event-listener.aws-cloudwatch.synchronous-modefalsebooleanReturns the synchronous mode setting for CloudWatch logging.

When set to “true”, log events are sent to CloudWatch synchronously, which may impact application performance but ensures immediate delivery. When set to “false” (default), log events are sent asynchronously for better performance.

Configuration property: polaris.event-listener.aws-cloudwatch.synchronous-mode

polaris.event-listener.kafka๐Ÿ”—

Configuration for the Kafka Event Listener.

Publishes Polaris events to a Kafka topic. The key for the Kafka record is the UUID of the Polaris event. To preserve FIFO behavior in the Kafka stream of the Polaris events a single partition should be used.

The value of Kafka record is JSON encoded as a String. It consists of a set of key values. The set of keys included depends on the Polaris event type and are listed below. The type of value is String except for keys source, destination, table_identifier, view_identifier, namespace and activated_roles which are all encoded as an array of Strings.

  • event_type
  • timestamp (ISO-8601 representation)
  • source (source of table rename if the event is a table rename)
  • destination (destination of table rename if the event is a table rename)
  • table_name
  • namespace
  • table_identifier
  • view_identifier
  • view_name
  • namespace_name
  • catalog_name
  • realm_id
  • principal
  • activated_roles
  • request_id
PropertyDefault ValueTypeDescription
polaris.event-listener.kafka.topicpolaris-catalog-eventsstringThe Kafka topic to send Polaris events to.

Configuration property: polaris.event-listener.kafka.topic
polaris.event-listener.kafka.synchronous-modefalsebooleanThe synchronous mode setting for sending events to Kafka.

When set to “true”, when events are sent to Kafka the event handling thread will wait for the events to be delivered to Kafka, which may impact performance. When set to “false” (default), events are sent asynchronously.

Configuration property: polaris.event-listener.kafka.synchronous-mode
polaris.event-listener.kafka.properties.<name>stringKafka properties to pass to the Kafka client producer, for example bootstrap.servers is required. This can be used to configure authentication (e.g., SASL, SSL) or other Kafka producer properties.

Configuration property: polaris.event-listener.kafka.properties

opentelemetry event listener๐Ÿ”—

Set polaris.event-listener.types=opentelemetry to emit Polaris events as OpenTelemetry log records.

OpenTelemetry is disabled by default in Polaris because there is no collector endpoint that works for all deployments. To export these log records, enable the OpenTelemetry SDK, enable OpenTelemetry logs, and configure an OTLP collector endpoint:

polaris.event-listener.types=opentelemetry
quarkus.otel.sdk.disabled=false
quarkus.otel.logs.enabled=true
quarkus.otel.exporter.otlp.endpoint=http://otlp-collector:4317

See the Telemetry documentation for additional OpenTelemetry configuration details.

Operational๐Ÿ”—

polaris.tasks๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.tasks.max-concurrent-tasks-1int
polaris.tasks.max-queued-tasks-1int
polaris.tasks.file-deletion-timeoutPT1HdurationMaximum time a file-cleanup task will wait for its asynchronous object-store deletions to complete before giving up and failing the task (which then follows the normal retry path). This bounds the task-executor thread so that a stalled storage endpoint cannot pin it indefinitely. A zero or negative value disables the deadline and waits indefinitely.

polaris.async๐Ÿ”—

Advanced configuration options to tune async activities.

PropertyDefault ValueTypeDescription
polaris.async.thread-keep-alivePT1SdurationDuration to keep idle threads alive.
polaris.async.max-threadsintMaximum number of threads available for asynchronous execution. Default is 256.

polaris.rate-limiter.filter๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.rate-limiter.filter.typestringThe type of the rate limiter. Must be a registered (org.apache.polaris.service.ratelimiter.RateLimiter) identifier.

polaris.rate-limiter.token-bucket๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.rate-limiter.token-bucket.requests-per-secondlongNumber of allowed requests per second per realm. The value must be greater than zero.
polaris.rate-limiter.token-bucket.windowdurationThis setting is no longer used and will be removed in a future release.

Deprecated
polaris.rate-limiter.token-bucket.typestringThe type of the token bucket factory. Must be a registered (org.apache.polaris.service.ratelimiter.TokenBucketFactory) identifier.

polaris.metrics๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.metrics.tags.<name>stringAdditional tags to include in the metrics.
polaris.metrics.realm-id-tag.enable-in-api-metricsfalsebooleanWhether to include the Realm ID tag in the API request metrics.

Beware that if the cardinality of this tag is too high, it can cause performance issues or even crash the server.
polaris.metrics.realm-id-tag.enable-in-http-metricsfalsebooleanWhether to include the Realm ID tag in the HTTP server request metrics.

Beware that if the cardinality of this tag is too high, it can cause performance issues or even crash the server.
polaris.metrics.realm-id-tag.http-metrics-max-cardinality100intThe maximum number of Realm ID tag values allowed for the HTTP server request metrics.

This is used to prevent the number of tags from growing indefinitely and causing performance issues or crashing the server.

If the number of tags exceeds this value, a warning will be logged and no more HTTP server request metrics will be recorded.
polaris.metrics.user-principal-tag.enable-in-api-metricsfalsebooleanWhether to include the User Principal tag in the API request metrics.

Beware that if the cardinality of this tag is too high, it can cause performance issues or even crash the server.
polaris.metrics.http-server-requests.histogram-sloslist of durationService Level Objective (SLO) boundaries for the HTTP server request duration histogram.

When set, one histogram bucket is published per boundary so backends can compute percentiles (e.g. p95, p99) at the configured durations.

polaris.iceberg-metrics.reporting๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.iceberg-metrics.reporting.typedefaultstring

polaris.log๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.log.request-id-header-namestringThe name of the header that contains the request ID.
polaris.log.mdc.<name>stringAdditional MDC values to include in the log context.

polaris.readiness๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.readiness.ignore-severe-issuesfalsebooleanSetting this to true means that Polaris will start up even if severe security risks have been detected, accepting the risk of denial-of-service, data-loss, corruption and other risks.

polaris.node๐Ÿ”—

Node management configuration.

PropertyDefault ValueTypeDescription
polaris.node.lease-durationPT1HdurationDuration of a node-lease.
polaris.node.renewal-periodPT15MdurationTime window before the end of a node lease when the lease will be renewed.
polaris.node.num-nodes1024intMaximum number of concurrently active Polaris nodes. Do not change this value or the ID generator spec, it is a rather internal property. See ID generator spec below.
polaris.node.id-generator-spec.typesnowflakestring
polaris.node.id-generator-spec.params.<name>string

Other๐Ÿ”—

polaris.realm-context๐Ÿ”—

PropertyDefault ValueTypeDescription
polaris.realm-context.realmslist of stringThe set of realms that are supported by the realm context resolver. The first realm is considered the default realm.
polaris.realm-context.header-namestringThe header name that contains the realm identifier.
polaris.realm-context.require-headerbooleanWhether to require the realm header to be present in the request. If this is true and the realm header is not present, the request will be rejected. If this is false and the realm header is not present, the default realm will be used.

Note: this is actually only enforced in production setups.
polaris.realm-context.typestringThe type of the realm context resolver. Must be a registered (org.apache.polaris.service.context.RealmContextResolver) identifier.

polaris.idempotency๐Ÿ”—

Deploy-time configuration for entity-property (single-transaction) idempotency.

This model embeds the Idempotency-Key directly into the internalProperties of the entity created by the originating operation, so the key and the operation commit atomically. There is no separate idempotency store, so the configuration surface is intentionally minimal: just a feature flag and the key TTL.

PropertyDefault ValueTypeDescription
polaris.idempotency.enabledfalsebooleanWhether handler-level idempotency is enabled. When false the handlers ignore the Idempotency-Key header entirely and never stamp or read idempotency keys.
polaris.idempotency.ttlPT5MdurationTTL for newly recorded idempotency keys. A retry that arrives within this window of a successful create replays the existing table; after it elapses the key is treated as absent and dropped inline on the entity’s next write.