> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Object storage backends

> Configure Amazon S3, S3-compatible stores (MinIO, Cloudflare R2), Google Cloud Storage (GCS), or Azure ADLS Gen2 for Apache Iceberg destinations in Artie.

Apache Iceberg separates catalog metadata from Parquet data files. Use this guide to configure object storage credentials and custom endpoints for REST, Hive Metastore, SQL, and AWS Glue catalogs.

> **Note:**
>
> Configuring an explicit `storage` block (GCS, Azure ADLS, S3-compatible endpoints, or custom `storage.properties`) requires Artie's native Iceberg engine. In the dashboard, the **Object storage** selector is shown for Hive Metastore and SQL catalogs; for **REST** and **AWS Glue** catalogs, configure the `storage` block through the Artie API. All storage secrets (`credentialsJSON`, `accountKey`, `sasToken`, `secretAccessKey`, and `sessionToken`) are encrypted at rest in Artie.

## Choose a storage backend

**Amazon S3 & S3-compatible**

Supported on **REST**, **AWS Glue**, **Hive Metastore**, and **SQL** catalogs.

### Warehouse location

* Use `s3://bucket/warehouse` (required for AWS Glue).
* Hive Metastore and SQL catalogs also accept `s3a://bucket/warehouse`.

### Configuration

* **AWS access key ID** and **AWS secret access key**: Static IAM or S3-compatible credentials with read/write/delete access to the warehouse bucket.
* **AWS region**: AWS region from the dashboard dropdown. For non-AWS signing regions (such as `auto` for Cloudflare R2), set `storage.s3.region` via the Artie API.
* `storage.s3.sessionToken` *(API only)*: Optional temporary STS session token.
* `storage.s3.endpoint` *(API only)*: Optional custom S3-compatible endpoint URL (for example, `https://minio.internal.example.com:9000` or `https://<account-id>.r2.cloudflarestorage.com`).
* `storage.s3.pathStyleAccess` *(API only)*: Set to `true` for S3-compatible stores like MinIO that require path-style URLs (`https://endpoint/bucket/key`) instead of virtual-hosted bucket subdomains.
* `useDefaultAWSCredentials` *(API only)*: Available on **AWS Glue** and **REST SigV4** catalogs for BYOC companies running on their own BYOC data plane.

**Google Cloud Storage (GCS)**

Supported on **REST**, **Hive Metastore**, and **SQL** catalogs. AWS Glue and Amazon S3 Tables do not support GCS storage.

### Warehouse location

* Use `gs://bucket/warehouse` (for example, `gs://analytics-lakehouse/iceberg`).

### Setup

**Step 1: Create a GCP service account**

In Google Cloud IAM, create a service account and grant it the **Storage Object Admin** (`roles/storage.objectAdmin`) role on the destination bucket.

**Step 2: Generate a JSON key**

Create and download a JSON service account key. Artie validates that the key is a Google `service_account` key and restricts `token_uri` to official Google OAuth endpoints.

**Step 3: Configure GCS in Artie**

For Hive Metastore and SQL catalogs in the dashboard, select **Google Cloud Storage** under **Object storage** and paste the full service account JSON key into **Service account JSON credentials** (`storage.gcs.credentialsJSON`). For REST catalogs, set `storage.gcs.credentialsJSON` via the Artie API.

**Custom GCS endpoint (API only)**

You can optionally set `storage.gcs.endpoint` via the Artie API (for example, a Private Service Connect endpoint or a local fake-gcs-server for testing).

**Azure ADLS Gen2 / Blob**

Supported on **REST**, **Hive Metastore**, and **SQL** catalogs. AWS Glue and Amazon S3 Tables do not support Azure storage.

### Warehouse location

* Use `abfss://container@account.dfs.core.windows.net/warehouse` (also accepts `abfs://`, `wasb://`, and `wasbs://`).
* The URI must include the `container@` prefix, and the hostname must match your configured **Storage account name**.

### Configuration

Provide your **Storage account name** (`storage.azure.accountName`, for example `analyticslakehouse`) together with **exactly one** authentication credential—Artie never falls back to managed identity or ambient Azure credentials:

* **Account key** (`storage.azure.accountKey`): Storage account shared access key (encrypted at rest).
* **SAS token** (`storage.azure.sasToken`): Shared Access Signature token scoped to the container with read, write, list, and delete permissions (encrypted at rest). Do not set both `accountKey` and `sasToken`.
* `storage.azure.endpoint` *(API only)*: Optional custom Azure storage endpoint URL.

## Reserved properties

To protect credentials and keep endpoints validated, Artie rejects reserved keys in raw `storage.properties` and catalog `properties` maps (both configured via the Artie API). Always supply credentials and endpoints through their dedicated fields so they are encrypted at rest and validated before deployment.

**Blocked keys in storage.properties and catalog properties**

**Blocked in `storage.properties`**:

* **GCS**: `gcs.keypath`, `gcs.credtype`, `gcs.jsonkey`, `gcs.oauth2.token`
* **Azure / ADLS**: `adls.auth.*` (entire prefix, including `adls.auth.managed-identity.enabled`), `adls.connection-string.*`, `adls.sas-token.*`, `adls.shared-key-account-key`, `adls.token`
* **S3 / client**: `s3.access-key-id`, `s3.secret-access-key`, `s3.session-token`, `client.credentials-provider`

**Additionally blocked in catalog `properties`**:

* **Catalog & auth**: `warehouse`, `uri`, `oauth2-server-uri`, `token`, `credential`, `basicAuthPassword`, `basic-auth-password`, `header.*`, `glue.*`, `rest.authorization-url`, `rest.sigv4-enabled`, `rest.signing-name`, `rest.signing-region`, `rest.access-key-id`, `rest.secret-access-key`, `rest.session-token`, `rest.tls.skip-verify`
* **Storage endpoints & S3 overrides**: `s3.endpoint`, `s3.region`, `s3.path-style-access`, `s3.proxy-uri`, `s3.signer.uri`, `gcs.endpoint`, `gcs.service.host`, `adls.endpoint`