marmotdata/iceberg
Discover namespaces, tables and views from Iceberg catalogs (REST and AWS Glue)
The Iceberg plugin discovers namespaces, tables and views from Iceberg catalogs. It supports both REST catalogs and AWS Glue Data Catalog as backends.
AWS Glue Catalog Permissions
When using catalog_type: "glue", the following IAM permissions are required:
The s3:GetObject permission is needed because Glue's LoadTable reads Iceberg metadata files from S3.
AWS Configuration
When using catalog_type: "glue", see AWS Configuration for the supported AWS configuration options.
Keyless authentication
On Marmot Cloud or Marmot Enterprise the pipeline can present its own identity instead of access keys. Register your Marmot instance as an IAM OIDC identity provider (client id sts.amazonaws.com), create a role whose trust policy allows sts:AssumeRoleWithWebIdentity for that provider with <issuer host>:sub equal to the pipeline's subject, pipeline:<name> as reported by the pipeline API, and set credentials.role_arn and credentials.region. No key exists anywhere; Marmot mints a short-lived token for each run.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Apache Iceberg from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
credentialsGroup of settingsAWS credentials configuration
use_defaultYes or noUse AWS credentials from environment or default profile (recommended)
idTextAWS access key ID
secretSecretAWS secret access key
tokenSecretAWS session token
profileTextAWS profile to use from shared credentials file
role_arnTextIAM role to assume with the Marmot identity token (AssumeRoleWithWebIdentity); its trust policy names the Marmot issuer as an OIDC provider. Setting it federates: no keys are needed, and region is required. role, if also set, is assumed on top of it
roleTextAWS IAM role ARN to assume with AssumeRole from the base credentials (static keys, a profile, the default chain, or role_arn)
role_external_idTextExternal ID for cross-account role assumption
regionTextAWS region for services
endpointTextCustom endpoint URL for AWS services
tags_to_metadataYes or noConvert AWS tags to Marmot metadata
include_tagsList of textList of AWS tags to include as metadata. By default, all tags are included.
audienceTextAudience of the Marmot identity token. Derived from the credentials' federation settings; set it only when the cloud side expects another
catalog_typeOne ofCatalog backend type
uriTextREST catalog URI (required for catalog_type=rest)
warehouseTextWarehouse identifier
credentialSecretCredential for OAuth2 client credentials authentication
tokenSecretBearer token for authentication
propertiesTextAdditional catalog properties
prefixTextOptional prefix for the REST catalog
glue_catalog_idTextAWS Glue Data Catalog ID (defaults to caller's account)
include_namespacesYes or noWhether to discover namespaces as assets
include_viewsYes or noWhether to discover views
Assets emitted
Metadata this plugin attaches to each discovered asset.
Namespace
Iceberg namespace metadata fields
Table
Iceberg table metadata fields
View
Iceberg view metadata fields