Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

37.1 KB
Raw Blame

title: "Credential Vending" slug: "/security/credential-vending" keyword: "security credential vending" license: "This software is licensed under the Apache License version 2."

Background

Gravitino credential vending is used to generate temporary or static credentials for accessing data. With credential vending, Gravitino provides a unified way to control access to diverse data sources across different platforms.

Supported Catalogs

Catalog type Vends
Fileset S3, OSS, GCS, ADLS, COS
Hive S3, OSS, ADLS
Iceberg S3, OSS, GCS, ADLS
Glue S3
JDBC JDBC user and password
Paimon S3, OSS, JDBC user and password

S3 is Amazon S3, OSS is Alibaba Cloud OSS, GCS is Google Cloud Storage, ADLS is Azure Data Lake Storage, and COS is Tencent Cloud COS. The Gravitino Spark, Flink, and Trino connectors consume vended credentials automatically for these catalogs, except that the Trino Hive connector does not consume OSS credentials. For Iceberg catalogs without a REST backend that vends credentials, the Flink connector receives only static credentials, see Flink Iceberg credential vending.

Token providers (s3-token, oss-token, gcs-token, adls-token, and cos-token) and aws-irsa scope credentials to a path, so only Fileset and Iceberg catalogs support them. Other catalogs vend static keys only, such as s3-secret-key, oss-secret-key, and azure-account-key. Creating or altering such a catalog with one of these providers fails.

Quick Start

Vend scoped S3 credentials to Spark through the IRC. Create the catalog through the Gravitino REST catalog API:

curl -X POST http://localhost:8090/api/metalakes/{metalake}/catalogs \
-H "Content-Type: application/json" \
-d '{
  "name": "iceberg_catalog",
  "type": "RELATIONAL",
  "provider": "lakehouse-iceberg",
  "properties": {
    "catalog-backend": "jdbc",
    "uri": "jdbc:postgresql://{postgres_host}:5432/{database}",
    "jdbc-driver": "org.postgresql.Driver",
    "jdbc-user": "{jdbc_user}",
    "jdbc-password": "{jdbc_password}",
    "jdbc-initialize": "true",
    "warehouse": "s3://{bucket_name}/{warehouse_path}",
    "io-impl": "org.apache.iceberg.aws.s3.S3FileIO",
    "credential-providers": "s3-token",
    "s3-access-key-id": "{access_key_id}",
    "s3-secret-access-key": "{secret_access_key}",
    "s3-region": "{region_name}",
    "s3-role-arn": "{role_arn}"
  }
}'

Point Spark at the IRC and request vended credentials with the delegation header:

./bin/spark-sql -v \
--packages org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.10.0,org.apache.iceberg:iceberg-aws-bundle:1.10.0 \
--conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions \
--conf spark.sql.catalog.rest=org.apache.iceberg.spark.SparkCatalog \
--conf spark.sql.catalog.rest.type=rest \
--conf spark.sql.catalog.rest.uri=http://127.0.0.1:9001/iceberg/ \
--conf spark.sql.catalog.rest.prefix=iceberg_catalog \
--conf spark.sql.catalog.rest.header.X-Iceberg-Access-Delegation=vended-credentials

The role in s3-role-arn needs a trust policy and S3 permissions before this works. See s3-token.

For Trino instead of Spark:

connector.name=iceberg
iceberg.catalog.type=rest
iceberg.rest-catalog.uri=http://127.0.0.1:9001/iceberg/
iceberg.rest-catalog.prefix=iceberg_catalog
iceberg.rest-catalog.vended-credentials-enabled=true
fs.native-s3.enabled=true
s3.region={region_name}

For the full Trino setup, see Connect Trino to the IRC.

Setting Properties

Credential vending properties go in the catalog's properties map when you create it through the Gravitino REST catalog API, alongside the warehouse location and the other catalog settings.

The Gravitino Iceberg REST Catalog (IRC) is the exception. It can also read a catalog straight from gravitino.conf, using the same property names prefixed with gravitino.iceberg-rest.:

s3-role-arn                             # as a catalog property
gravitino.iceberg-rest.s3-role-arn      # in gravitino.conf

Catalogs defined in gravitino.conf are not registered in a metalake, so Gravitino access control does not apply to them. Privileges are granted on catalogs in a metalake, and there is nothing to grant them on.

General Configurations

Property Description Default value Required
credential-providers The credential provider types, separated by comma. If omitted, Gravitino infers some providers from the other properties present. (none) Yes, unless inferred
credential-cache-expire-ratio Ratio of the credential's expiration time when Gravitino removes the credential from the cache. 0.15 No
credential-cache-max-size Max size for the credential cache. 10000 No

Values for credential-providers

Value Storage Vends
s3-token S3 Temporary STS credentials, scoped to the table path
aws-irsa S3 Credentials from an IAM role for service accounts, for EKS
s3-secret-key S3 The configured static access key and secret
oss-token OSS Temporary STS credentials, scoped to the table path
oss-secret-key OSS The configured static access key and secret
adls-token ADLS A user delegation SAS token
azure-account-key ADLS The configured static storage account key
gcs-token GCS A downscoped access token
cos-token COS A temporary STS token
cos-secret-key COS The configured static access key and secret
jdbc-user-password JDBC The configured JDBC username and password
aws-secret-key Glue The configured AWS access key and secret for Glue API auth
dlf-secret-key Paimon The configured DLF access key and secret (optional token)

Each value has its own properties, listed in the sections below. To vend for more than one storage type on a catalog, separate values with a comma. Custom providers can be added by implementing CredentialProvider, described under Custom Credentials.

When credential-providers Is Omitted

If a catalog does not set credential-providers, Gravitino infers providers from the credential properties present:

Properties present Provider enabled
s3-access-key-id and s3-secret-access-key s3-secret-key
oss-access-key-id and oss-secret-access-key oss-secret-key
azure-storage-account-name and azure-storage-account-key azure-account-key
cos-access-key-id and cos-secret-access-key cos-secret-key
gcs-service-account-file (Fileset and Iceberg only) gcs-token
aws-access-key-id and aws-secret-access-key aws-secret-key
dlf-access-key-id and dlf-access-key-secret dlf-secret-key

JDBC catalogs additionally infer jdbc-user-password from jdbc-user and jdbc-password.

The inferred provider list is returned as the catalog's credential-providers property when the catalog is loaded, so clients such as the Spark connector see the same list the server vends credentials with. Only the provider names are returned, never the credential values.

Four providers have no inference rule and must always be set explicitly: s3-token, oss-token, adls-token, and aws-irsa. In particular, setting s3-role-arn without credential-providers does not enable s3-token. The catalog falls back to s3-secret-key and vends the static access key instead, which is long-lived and not scoped to the table path. Set credential-providers explicitly whenever you want token-based vending.

Catalog and fileset getCredentials privileges (token vs static)

Catalog and fileset getCredentials always require metadata access (for filesets, that is the usual path-based read/write fileset check). Privilege rules then depend on provider kind:

Provider kind Examples Privileges
Token (short-lived / scoped) s3-token, oss-token, cos-token, adls-token, gcs-token, aws-irsa Metadata access is enough
Static (long-lived account) s3-secret-key, oss-secret-key, cos-secret-key, azure-account-key, aws-secret-key, dlf-secret-key, jdbc-user-password Also need USE_SECRETS and INCLUDE_CREDENTIAL_SECRETS, or metalake ownership

When the caller lacks the static privileges, the response contains only token credentials (possibly none). With both privileges (or metalake ownership), token and static credentials are returned together. The same soft-filter applies to catalog and fileset requests.

Catalog getCredentials has no storage path. Path-scoped token providers such as s3-token need a fileset or table location to mint a short-lived credential, so a catalog request with credential-providers like s3-token,s3-secret-key typically returns only the static key even when the caller holds both privileges. Callers that need a path-scoped token should use the fileset credential API or the Iceberg REST credential endpoint instead.

Grant static privileges only to trusted connectors/operators: static credentials carry all source-account permissions and do not enforce Gravitino table-level grants or denies when used directly against the source. Prefer short-lived scoped providers for filesets when available — even with static privileges, a static account may still have broader source access than the requested path.

S3

s3-token

Gravitino calls STS AssumeRole and returns temporary credentials scoped to the table path.

Property Description Default value Required
s3-role-arn ARN of the role Gravitino assumes, in the form arn:aws:iam::{account_id}:role/{role_name}. (none) Yes
s3-region Region of the S3 service, like us-west-2. (none) No
s3-token-expire-in-secs Session lifetime of the vended credentials. Cannot exceed the role's maximum session duration. 3600 No
s3-external-id External ID passed on AssumeRole, for cross-account trust policies that require one. (none) No
s3-token-service-endpoint Alternative STS endpoint, for S3-compatible storage such as MinIO. (none) No

Also set s3-access-key-id and s3-secret-access-key. Gravitino uses them to call AssumeRole, not to reach data, and they are never sent to the engine.

Trust Policy on the Role

The role in s3-role-arn must allow the s3-access-key-id principal to assume it. Without this, AssumeRole is rejected and no credential is vended.

{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Principal": { "AWS": "arn:aws:iam::{account_id}:user/{gravitino_user}" },
    "Action": "sts:AssumeRole"
  }]
}

Permission Policy on the Role

The vended credentials inherit this policy, narrowed to the table path. Without S3 access to the warehouse prefix, the credentials are vended but cannot read or write.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
      "Resource": "arn:aws:s3:::{bucket_name}/{warehouse_path}/*"
    },
    {
      "Effect": "Allow",
      "Action": ["s3:ListBucket", "s3:GetBucketLocation"],
      "Resource": "arn:aws:s3:::{bucket_name}"
    }
  ]
}

aws-irsa

For Gravitino running on EKS. Instead of an access key, Gravitino uses its pod's IAM role to call AssumeRole, so no static keys exist anywhere in the setup.

Property Description Default value Required
s3-role-arn ARN of the role to assume. When omitted, Gravitino uses the pod's AWS_ROLE_ARN. (none) No
s3-region AWS region for STS operations. (none) No
s3-token-expire-in-secs Session lifetime of the vended credentials. Cannot exceed the role's maximum session duration. 3600 No
s3-token-service-endpoint Alternative STS endpoint, for S3-compatible storage. (none) No

For path-based requests, Gravitino always scopes the credentials with a session policy covering the requested data, metadata, and write locations. Catalog-level requests do not vend aws-irsa credentials because they provide no paths for a session policy. The role is selected from s3-role-arn when configured, or from the pod's AWS_ROLE_ARN otherwise.

The selected role needs the same permission policy as s3-token above. Its trust policy must allow sts:AssumeRoleWithWebIdentity from the pod's Kubernetes service account identity.

IRSA itself must already be configured on the pod's Kubernetes service account. When it is, EKS injects a signed service account token into the pod and sets AWS_WEB_IDENTITY_TOKEN_FILE to its path, which is what the AWS SDK uses to obtain credentials. If vending fails, check that this variable is present in the pod.

s3-secret-key

Returns the catalog's configured access key and secret to the client, unchanged, in the loadTable response.

The key is long-lived, carries whatever permissions its IAM user has, and is not scoped to the table path. Any client that can load a table receives it, and it stays valid after the query finishes. Prefer s3-token, which returns temporary credentials scoped to the table path. Use s3-secret-key to confirm the vending path works before configuring a role.

Property Description Default value Required
s3-access-key-id The static access key ID used to access S3 data. (none) Yes
s3-secret-access-key The static secret access key used to access S3 data. (none) Yes

OSS

oss-token

Gravitino calls Alibaba Cloud STS AssumeRole and returns temporary credentials scoped to the table path.

Also set oss-access-key-id and oss-secret-access-key. Gravitino uses them to call AssumeRole, not to reach data, and they are never sent to the engine.

Property Description Default value Required
oss-access-key-id The static access key ID used to access OSS data. (none) Yes
oss-secret-access-key The static secret access key used to access OSS data. (none) Yes
oss-role-arn The ARN of the role to access the OSS data. (none) Yes
oss-region The region of the OSS service, like oss-cn-hangzhou, only used when credential-providers is oss-token. (none) No
oss-external-id The OSS external id to generate the token. (none) No
oss-token-expire-in-secs The OSS security token expire time in secs. 3600 No

Trust Policy on the RAM Role

The role in oss-role-arn must allow the oss-access-key-id principal to assume it.

{
  "Version": "1",
  "Statement": [{
    "Effect": "Allow",
    "Action": "sts:AssumeRole",
    "Principal": { "RAM": ["acs:ram::{account_id}:user/{gravitino_user}"] }
  }]
}

Permission Policy on the RAM Role

The vended credentials inherit this policy, narrowed to the table path.

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["oss:GetObject", "oss:PutObject", "oss:DeleteObject"],
      "Resource": "acs:oss:*:*:{bucket_name}/{warehouse_path}/*"
    },
    {
      "Effect": "Allow",
      "Action": ["oss:ListObjects", "oss:GetBucketInfo"],
      "Resource": "acs:oss:*:*:{bucket_name}"
    }
  ]
}

oss-secret-key

Returns the catalog's configured access key and secret to the client, unchanged.

The key is long-lived, carries whatever permissions its RAM user has, and is not scoped to the table path. Any client that can load a table receives it, and it stays valid after the query finishes. Prefer oss-token. Use oss-secret-key to confirm the vending path works before configuring a role.

Property Description Default value Required
oss-access-key-id The static access key ID used to access OSS data. (none) Yes
oss-secret-access-key The static secret access key used to access OSS data. (none) Yes

COS

cos-token

Gravitino calls Tencent Cloud STS AssumeRole and returns temporary credentials scoped to the table path. The role is a Cloud Access Management (CAM) role on Tencent Cloud; the CAM abbreviation is used throughout this section.

Also set cos-access-key-id and cos-secret-access-key. Gravitino uses them to call AssumeRole, not to reach data, and they are never sent to the engine.

Property Description Default value Required
cos-access-key-id The static access key ID (Tencent Cloud SecretId) used by Gravitino to call STS AssumeRole. (none) Yes
cos-secret-access-key The static secret access key (Tencent Cloud SecretKey) used by Gravitino to call STS AssumeRole. (none) Yes
cos-role-arn The ARN of the CAM role to assume, e.g. qcs::cam::uin/100012345678:roleName/GravitinoCOSAccess. (none) Yes
cos-region The region of the bucket, e.g. ap-guangzhou. Used to build the STS endpoint and the resource ARN. (none) Yes
cos-app-id The numeric Tencent Cloud AppId of the bucket owner (the trailing segment of the bucket name, e.g. 1250000000). (none) Yes
cos-external-id Optional ExternalId propagated to STS AssumeRole to lock the role's trust policy to Gravitino. (none) No
cos-token-expire-in-secs The COS security token expire time in secs. Must not exceed the role's max session duration. 3600 No

Trust Policy on the CAM Role

The role in cos-role-arn must allow the cos-access-key-id principal to assume it. If cos-external-id is set, the trust policy must require the same value.

{
  "version": "2.0",
  "statement": [{
    "effect": "allow",
    "action": "name/sts:AssumeRole",
    "principal": { "qcs": ["qcs::cam::uin/{account_uin}:uin/{account_uin}"] },
    "condition": {
      "string_equal": { "sts:external_id": "{external_id}" }
    }
  }]
}

Permission Policy on the CAM Role

The vended credentials inherit this policy, narrowed to the table path.

{
  "version": "2.0",
  "statement": [
    {
      "effect": "allow",
      "action": [
        "cos:GetObject",
        "cos:HeadObject",
        "cos:PutObject",
        "cos:DeleteObject",
        "cos:InitiateMultipartUpload",
        "cos:UploadPart",
        "cos:ListParts",
        "cos:CompleteMultipartUpload",
        "cos:AbortMultipartUpload"
      ],
      "resource": "qcs::cos:{region}:uid/{app_id}:{bucket_name}-{app_id}/{warehouse_path}/*"
    },
    {
      "effect": "allow",
      "action": ["cos:GetBucket", "cos:HeadBucket", "cos:GetBucketLocation"],
      "resource": "qcs::cos:{region}:uid/{app_id}:{bucket_name}-{app_id}/*"
    }
  ]
}

cos-secret-key

Returns the catalog's configured access key and secret to the client, unchanged.

The key is long-lived, carries whatever permissions its CAM user has, and is not scoped to the table path. Any client that can load a table receives it, and it stays valid after the query finishes. Prefer cos-token. Use cos-secret-key to confirm the vending path works before configuring a role.

Property Description Default value Required
cos-access-key-id The static access key ID used to access COS data. (none) Yes
cos-secret-access-key The static secret access key used to access COS data. (none) Yes

ADLS

adls-token

Gravitino requests an Azure user delegation SAS and returns it to the client. The SAS is scoped to the single requested root directory that covers the table location and any requested write paths. This is normally the table path, but a custom write path that is its parent results in a broader SAS scope. Requests with independent root paths cannot be represented by one directory-scoped SAS and are rejected.

Azure grants access through role assignments rather than policy documents. The Microsoft Entra ID service principal identified by azure-tenant-id, azure-client-id, and azure-client-secret needs two roles:

  • Storage Blob Delegator, assigned at the storage account, which allows it to request the user delegation key that signs the SAS.
  • Storage Blob Data Contributor, assigned on the container or the warehouse path, which determines what the vended SAS can do. Use Storage Blob Data Reader for read-only access.

Without the delegator role the SAS cannot be issued at all. Without a data role the SAS is issued but grants nothing.

Property Description Default value Required
azure-storage-account-name The static storage account name used to access ADLS data. (none) Yes
azure-tenant-id Azure Active Directory (AAD) tenant ID. (none) Yes
azure-client-id Azure Active Directory (AAD) client ID used for authentication. (none) Yes
azure-client-secret Azure Active Directory (AAD) client secret used for authentication. (none) Yes
adls-token-expire-in-secs The ADLS SAS token expire time in secs. 3600 No

azure-account-key

Returns the catalog's configured storage account key to the client, unchanged.

A storage account key grants full access to every container in the storage account, not just the warehouse path, and it does not expire. Any client that can load a table receives it. Prefer adls-token, which is scoped and time-limited. Use azure-account-key to confirm the vending path works before configuring a service principal.

Property Description Default value Required
azure-storage-account-name The static storage account name used to access ADLS data. (none) Yes
azure-storage-account-key The static storage account key used to access ADLS data. (none) Yes

GCS

gcs-token

Gravitino downscopes its own credentials using GCS credential access boundaries and returns a token scoped to the table path.

There is no role to assume. The identity is the service account in gcs-service-account-file, or the application default credentials when that is unset. Grant that service account Storage Object User (roles/storage.objectUser) on the warehouse bucket, or Storage Object Viewer for read-only access. Downscoping narrows from those permissions, so the vended token can never exceed what the service account itself holds.

Property Description Default value Required
gcs-service-account-file The location of the GCS credential file. GCS Application default credential. No

gcs-service-account-file is used both to vend downscoped tokens and to authenticate Iceberg GCSFileIO on the server (Gravitino injects gcs.oauth2.token at catalog load because Iceberg has no service-account-file property). Ensure the file is readable by the server process. If the property is unset, FileIO and token vending fall back to Application Default Credentials (for example GCE metadata or GOOGLE_APPLICATION_CREDENTIALS).

Requesting Vended Credentials

How a client asks depends on which interface it uses.

Over the IRC

Credentials are vended only when the client asks for them. Spark, Flink, and other IRC clients ask with a header:

X-Iceberg-Access-Delegation: vended-credentials

In Spark, set it as a catalog config key:

spark.sql.catalog.{name}.header.X-Iceberg-Access-Delegation=vended-credentials

Trino asks with a catalog property instead, and sends the header for you:

iceberg.rest-catalog.vended-credentials-enabled=true

Over the Gravitino REST Catalog API

Hive, Glue, JDBC, Paimon, and Fileset catalogs are reached through the Gravitino REST catalog API, which has no delegation header. Credential properties are hidden from the catalog GET response, so clients fetch them from the Gravitino credential endpoint instead. It works for any metadata object:

GET /api/metalakes/{metalake}/objects/{type}/{full_name}/credentials

For a catalog, {type} is catalog and {full_name} is the catalog name:

GET /api/metalakes/{metalake}/objects/catalog/{catalog}/credentials

The Gravitino Spark and Flink connectors call this for you and inject the returned credentials, so no client configuration is needed. These credentials are catalog-level and are not refreshed. Path-based providers such as s3-token and aws-irsa vend nothing at catalog level.

Read or Write Scope

Over the IRC, a credential is vended for writing when the caller is entitled to modify the table, and for reading otherwise. Narrowing the caller's roles with the X-Gravitino-Active-Roles header narrows this as well, so a caller whose active roles no longer carry MODIFY_TABLE is vended a read-only credential. See Narrowing Access with Active Roles.

Custom Credentials

Gravitino supports custom credentials. You can implement the org.apache.gravitino.credential.CredentialProvider interface to support custom credentials, and place the corresponding jar in the classpath of the IRC or the Fileset catalog.

Deployment

The credential provider implementations ship in separate jars. Whichever component vends the credentials needs the right jar on its classpath, or the provider cannot be created and no credentials are vended.

Vending component Jar Classpath
IRC gravitino-iceberg-{cloud}-bundle See Deployment; it differs by deployment mode
Iceberg catalog gravitino-iceberg-{cloud}-bundle catalogs/lakehouse-iceberg/libs/
Fileset catalog gravitino-{cloud}-bundle catalogs/fileset/libs/
Hive catalog gravitino-{cloud} catalogs/hive/libs/
Glue catalog gravitino-aws catalogs/glue/libs/
Paimon catalog gravitino-aws for S3, gravitino-aliyun for OSS catalogs/lakehouse-paimon/libs/

Substitute {cloud} with aws, gcp, aliyun, or azure. Note the two jar families: the -bundle variants also carry Hadoop and cloud SDK packages, which the Fileset catalog and the IRC need. The Hive, Glue, and Paimon catalogs only vend credentials, so they take the plain gravitino-{cloud} jar.

The Gravitino Iceberg cloud bundle jars already include the Iceberg cloud bundle jars, so there is no need to download and include those separately.

Vending JDBC user and password requires no additional jar.

Bundle jars on Maven Central:

Upgrading From a Release Earlier Than 1.3.0

Sensitive catalog properties such as s3-access-key-id, s3-secret-access-key, jdbc-password, aws-access-key-id / aws-secret-access-key (Glue), and dlf-access-key-id / dlf-access-key-secret / dlf-security-token (Paimon DLF) are masked or excluded from the default GET /api/metalakes/{metalake}/catalogs/{catalog} response (jdbc-user and azure-storage-account-name are returned in plaintext when not hidden). Plaintext non-static secrets are available via getSecrets when the caller holds USE_SECRETS (or is metalake owner). Static credential properties that apply to the metadata object — keys declared in that object's properties metadata, used by an enabled static credential-providers entry (jdbc-user-password, s3-secret-key, and similar), or present on the object's own property map under a canonical static-credential key name — are included in getSecrets only with INCLUDE_CREDENTIAL_SECRETS (or metalake owner). Catalog omit uses the effective provider list (including inferred providers). Schema, fileset, and other child objects are filtered from their own properties only; they do not inherit the parent catalog's inferred provider list. Only canonical key names (for example s3-access-key-id, not typos or aliases) participate in static omit. Other sensitive-named custom secrets remain visible with USE_SECRETS alone. Connectors use catalog-level getCredentials / GET .../credentials for vending. Static credentials (S3/OSS/COS/Azure/JDBC, Glue AWS API keys, Paimon DLF) need both USE_SECRETS and INCLUDE_CREDENTIAL_SECRETS (or metalake ownership); short-lived token providers need only metadata access. Vended-only fields such as s3-session-token are not catalog properties. Clients written against earlier releases that read those properties directly from the default load lose access to them.

For a zero-downtime migration, set the following in gravitino.conf:

gravitino.catalog.credential.backfillToProperties = true

The Gravitino server then re-includes the hidden properties in its catalog GET responses. Turn it off once all clients use the Gravitino credential endpoint, since it exposes credentials in plaintext.

Catalog and fileset credential access

With authorization enabled, catalog and fileset credential vending always require metadata access (for filesets, the usual path-based read/write fileset check). Token providers (short-lived scoped credentials) need only that metadata access. Static providers are included only with both USE_SECRETS and INCLUDE_CREDENTIAL_SECRETS, or metalake ownership — without them the response is still 200 with token-only or empty credentials (soft-filter, not 403). Engine users that need static credentials must receive the secrets privileges explicitly. Static credentials are unscoped: they carry the source account's privileges, including access beyond a single Gravitino table or fileset path. GVFS skips an optional catalog credential lookup when metadata access is denied, then uses the fileset credential endpoint; denial at that fileset endpoint still prevents access.

For relational JDBC catalogs, jdbc-url must not contain passwords, tokens, or inline user information. Move login credentials to jdbc-user and jdbc-password (or secret references) before upgrading. Legacy credential-bearing jdbc-url properties are masked when they reach the property read path, but loading a catalog can fail earlier during configuration validation. PostgreSQL catalog ALTER also loads the old configuration first, so it cannot repair such a URL after upgrading. If already upgraded, use the previous server version to migrate the catalog configuration before upgrading again.

This URL validation and masking apply to relational JDBC catalogs' jdbc-url property; JDBC-backed Iceberg/Paimon uri properties are outside this change. Class-loader diagnostics show property names only.