---
title: "Host Interface Configuration Reference | wasmCloud"
description: "Complete reference for the configuration keys each wasmCloud host interface reads — wasi:http routing, messaging subscriptions and limits, keyvalue and blobstore backends, secrets, and Postgres."
canonical: "https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/"
---

Version: v2

# Host Interface Configuration Reference

This page is the complete reference for the configuration keys each built-in host interface reads, as of wasmCloud 2.11.0. For the structure of the `hostInterfaces` field itself (`namespace`, `package`, `interfaces`, `version`, `config`, `name`, and multi-backend binding), see [Host Interfaces in the CRD guide](https://wasmcloud.com/docs/kubernetes-operator/crds/#host-interfaces).

> **Discussed on the community call**
>
> Jeremy Fleitz demoed `wasmcloud:nats@0.1.0` workload manifests that keep connection details and subject grants in the host's plugin configuration, and Eric Gregory introduced this reference as the Doc of the Week, on the [September 2, 2026 wasmCloud community call](https://wasmcloud.com/community/2026-09-02-community-meeting/). Read the [transcript](https://wasmcloud.com/community/2026-09-02-community-meeting-transcript/) or [watch the discussion from 5:30](https://youtu.be/e6tCo9WEbGo?t=330).

## How configuration reaches an interface

Each `hostInterfaces` entry carries a string-to-string config map assembled from up to three sources, later sources winning on key conflicts:

1. The inline `config` map.
2. ConfigMaps referenced by `configFrom`.
3. Kubernetes Secrets referenced by `secretFrom`.

Some interfaces also read keys from the component's `localResources.config`, which is passed through as written. Where an interface reads from both, the tables below say so and give the precedence.

Three rules that apply across interfaces:

- **Named vs. unnamed entries bind differently.** An entry with a `name` serves a labeled `(implements ..)` import and reads backend-selection keys (`backend`, `url`, and friends). An **unnamed** entry binds to the host's standalone plugin for that package, which on stock hosts means backend-selection keys on unnamed `wasi:keyvalue`, `wasi:blobstore`, and `wasmcloud:messaging` entries are ignored. Use a named entry (or the async `wasmcloud:keyvalue`/`wasmcloud:blobstore` packages) to select a backend per entry.
- **A labeled import never falls back silently to the default backend.** A label is served by a matching named entry, by a plugin binding the operator declares in the host's [`plugins` block](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/helm-values/#runtimehostgroupsplugins) (since 2.9.0), or by a sibling component whose `components[].name` matches (since 2.10.0; an operator-declared entry `name` wins over a same-named component). A label matching none of these fails the workload at start.
- **Backend addresses belong to the operator (since 2.11.0).** Under the default `workloadConfig: deny`, the keys that say *where* a backend lives come only from the host's `plugins` declaration: `url`, `root`, and `prefix` for keyvalue, `url` and `root` for blobstore, `url` for messaging, and `url` for a named `wasmcloud:postgres` entry. A manifest that sets one is refused at deploy. The workload keeps `backend`, which says *which kind* of backend it wants. See [Operator-owned backend addresses](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#operator-owned-backend-addresses) for the reasoning and the migration.

## Operator-owned backend addresses

Before 2.11.0 the multiplexed keyvalue, blobstore, messaging, and postgres plugins claimed no keys, so `workloadConfig: deny` had nothing to refuse on them and a workload manifest could name its own backend address. That let a workload point a filesystem backend at any directory the host could read, a redis or NATS backend at any server the host could reach, or a redis `prefix` at another workload's keyspace.

Since 2.11.0 each of those plugins declares its address keys host-owned:

| Plugin `id` | Interface | Keys the operator owns |
| --- | --- | --- |
| `wasi-keyvalue-multiplexed`, `wasmcloud-keyvalue-multiplexed` | `wasi:keyvalue`, `wasmcloud:keyvalue` | `url`, `root`, `prefix` |
| `wasi-blobstore-multiplexed`, `wasmcloud-blobstore-multiplexed` | `wasi:blobstore`, `wasmcloud:blobstore` | `url`, `root` |
| `wasmcloud-messaging-multiplexed`, `wasmcloud-messaging-async-multiplexed` | `wasmcloud:messaging` | `url` |
| `wasmcloud-postgres` | `wasmcloud:postgres` | `url` (named entries); `database` is a ceiling |

`backend` stays the workload's, so a manifest still chooses *which kind* of backend it wants while the operator says *where* that backend is. An operator who wants to pin the kind too adds `backend` to the entry's `hostOwnedKeys`.

> **This refuses existing manifests with no operator action**
>
> `workloadConfig` defaults to `deny` even when `runtime.hostGroups[].plugins` is empty, which is the chart default. A workload that sets `root`, `url`, or `prefix` on one of these entries is refused at deploy after upgrading, with a message naming the key:
>
> > it sets `root`, which belong to the operator; a manifest that set them could point itself at another backend or widen its own grant. Ask the operator to declare them under `host.plugins`
>
> Set `workloadConfig: warn` on the plugin entry first to find affected workloads: it permits them and logs what `deny` would refuse.

The migration moves the address from the workload to the host group. A workload that previously carried its own `root`:

yaml

```yaml
# Before 2.11.0 — refused under `deny` from 2.11.0 on
hostInterfaces:
  - name: cache
    namespace: wasi
    package: keyvalue
    interfaces: [store]
    config:
      backend: filesystem
      root: /data/cache
```

keeps only `backend`, and the operator declares the address:

yaml

```yaml
# Workload
hostInterfaces:
  - name: cache
    namespace: wasi
    package: keyvalue
    interfaces: [store]
    config:
      backend: filesystem
```

yaml

```yaml
# Helm values
runtime:
  hostGroups:
    - name: default
      plugins:
        - id: wasi-keyvalue-multiplexed
          bindings:
            cache:
              config:
                root: /data/cache
```

Declare the address under `bindings.<label>` rather than the entry's own `config` when workloads must stay apart: a `root` or `prefix` on the entry's `config` is shared by **every** workload binding that label, which is one store for all of them. Per-label `bindings` is what isolates them.

The alternative, where a workload legitimately owns its address, is `workloadConfig: allow` on that plugin entry paired with an `allowedHosts` ceiling: the workload names the url and the ceiling bounds which endpoints it may name. That pairing only works for a url-based backend — a `filesystem` backend's owned key is `root`, a path, which no `allowedHosts` ceiling bounds.

### Plugin egress ceilings on multiplexed plugins

Declaring `allowedHosts` on one of these plugin entries previously failed host startup, because the plugins did not report that they dial out. Since 2.11.0 all of them accept a ceiling, checked per backend at every bind, before any connection is reused:

> `wasi:keyvalue` binding `cache` (backend 'redis') is refused by the egress policy declared for this plugin

The ceiling is one list per plugin entry; there is no per-binding `allowedHosts`. Three details matter when writing one:

- **Scheme aliases.** `postgres`/`postgresql`, `redis`/`valkey`, and `rediss`/`valkeys` match as one scheme.
- **TLS upgrades are one-way.** A plaintext entry also admits its TLS form at the same endpoint (`nats://` admits `tls://`, `redis://` admits `rediss://`), but a TLS entry never admits plaintext.
- **A port-less entry means the client's default port**, not any port, when a native plugin dials it: `redis` 6379, `postgres` 5432, `nats` 4222. The same entry still leaves the port open for a workload's own raw sockets.

A url naming a *hostname* is matched by name only, because the plugin's own client resolves it. `denySpecialRanges` and `denyPrivateRanges` therefore constrain only a url that names a literal address. Credentials in a url are redacted from refusal messages.

## `wasi:http`

Serves `wasi:http/incoming-handler` (components) and `wasi:http/handler` (services). Keys are read from the `wasi:http` entry config:

| Key | Description |
| --- | --- |
| `host` | Routing hostname for the workload, matched against the request's `Host` header. Required on Kubernetes. Must be a bare RFC 1123 hostname without a port; matching ignores ports on both sides. Multiple workloads registered under the same hostname are load balanced per request. |
| `host-aliases` | Comma-separated additional hostnames. Invalid entries are dropped silently. When `spec.kubernetes.service` is set, the operator appends the Service's in-cluster names (`<svc>.<ns>`, `<svc>.<ns>.svc`) to the aliases declared here, dropping blanks and repeats (since 2.12.1). Earlier operators wrote over this key instead, so a Service left the workload's own aliases unrouted. The operator injects them for an entry listing either `incoming-handler` or `handler`; before 2.12.1 it injected only for `incoming-handler`, so a workload exporting the WASI P3 `handler` turned away requests addressed to its Service DNS names. |
| `localRoute` | Hostnames this workload serves for callers on the same host, comma-separated, as `host` or `host/path` (since 2.10.0). An invalid entry fails the workload at start. |

There is no `address` key: the listen address and port are host-level settings ([`runtime.hostGroups[].http.port`](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/helm-values/#runtimehostgroupshttpport) in Helm values, `dev.address` in [wash configuration](https://wasmcloud.com/docs/wash/config/)). Under `wash dev`, routing ignores hostnames entirely and sends every request to the current dev workload. The host normalizes scheme and authority before dispatch (since 2.10.0): a guest behind a TLS listener sees `https`, and a request with an invalid `Host` header is rejected with `400` before it reaches a component.

`localRoute` is the workload half of [same-host local routing](https://wasmcloud.com/docs/kubernetes-operator/workload-security/#same-host-local-routing). Path prefixes match on `/` segment boundaries, the longest match wins, and scheme, port, and bare-path entries are rejected. Names declared here are never reachable from the network (a forged `Host` header from outside gets a 404); declare a name under `host` or `host-aliases` as well to serve it both ways. The key is inert unless the host runs with [`--http-local-routing`](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/helm-values/#runtimehostgroupshttplocalbypassrouting), a caller must still list the hostname in its own `allowedHosts`, and gRPC requests always egress over the network. Under `wash dev`, valid entries are accepted and ignored (a dev session has one workload), but an invalid entry still fails the session, so a typo surfaces before deploy.

## `wasmcloud:messaging`

Serves `consumer`, `handler`, and `types` at `0.2.0` (sync) and `0.3.0` (async). The entry's `version` selects which revision is linked for imports; the handler revision follows the component's export. See [Messaging subscriptions and consumer groups](https://wasmcloud.com/docs/kubernetes-operator/crds/#messaging-subscriptions-and-consumer-groups) for the delivery model.

Keys are read from the component's `localResources.config` first; the NATS backend falls back to the `wasmcloud:messaging` entry config (the in-memory backend reads component config only):

| Key | Format | Default | On invalid value |
| --- | --- | --- | --- |
| `subscriptions` | Comma-separated NATS subjects; wildcards allowed (`orders.*`, `audit.>`) | No subscriptions on the NATS backend. The in-memory backend used by `wash dev` delivers everything when unset. | n/a |
| `consumer_group` | Queue group name, or the literal `broadcast` to deliver every message to every replica. No whitespace, `*`, or `>`. | Derived group scoped to the workload's namespace, name, and component | Workload fails to start |
| `max_in_flight` | Positive integer; per-component in-flight delivery cap across replicas on a host (added in 2.8.0). Can only lower the component below the host's per-component ceiling. | The host's per-component ceiling | Zero or invalid values are treated as unset, with a warning |
| `admission_wait` | Duration (`45s`, `2m`, `1m30s`) or bare seconds; how long a delivery waits for a slot before it is dropped (added in 2.8.0). Maximum `600s`. | `30s` | Default, with a warning |
| `admission_group` | Any non-empty name; replaces the workload name in the admission gate's key, so same-named components in different workloads can share one gate (since 2.10.0) | The stable replica identity the operator stamps, so replicas of one deployment share a gate | Empty or whitespace values are ignored |

A **named** entry serving a labeled `consumer` import additionally reads:

| Key | Description |
| --- | --- |
| `backend` | `nats` or `in-memory`. Default `in-memory`. |
| `url` | NATS server URL. Required when `backend: nats`; the workload fails to start without it. Since 2.11.0 this is [the operator's to declare](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#operator-owned-backend-addresses) under the default `workloadConfig: deny`. |

## `wasmcloud:nats`

Serves the async `wasmcloud:nats@0.1.3` package (since 2.9.0 at `0.1.0`; components built against an earlier `0.1.x` keep binding; plugin id `wasmcloud-nats`): `types`; `core` (publish, request); `jetstream` (acknowledged publish, stored-message reads, pull consumers, stream and consumer info, subject listings); `kv` (open a bucket, then get, put, create, compare-and-swap update, delete, purge, keys, history, status, and `select`); and the handler exports the host drives (`core-handler`, `jetstream-handler`, `kv-handler`). `kv.select` (since 2.10.0) streams every matching entry with its value, uncapped, ending on a terminal-status future so a truncated drain is distinguishable from a complete one; its options cover tombstones, keys-only listing, an entry cap, and a whole-drain deadline. Key-value watching arrives through `kv-handler` and the `kv-watches` key, not a `kv` call. Every operation that touches the wire is async. Connections are opened per workload under the workload's own credentials, never the host's control plane client. Stream and bucket administration is absent by design: the host creates JetStream consumers for declared subscriptions, but streams and buckets are provisioned out of band.

The 2.12.0 package (`0.1.3`) adds to `jetstream`:

| Call | Notes |
| --- | --- |
| `get-last-by-subject` | The last message on a literal subject, `not-found` when none exists. Goes through the stream API, so it has no `allow-direct` requirement |
| `get-by-sequence-at` | Like `get-by-sequence`, with the time the server stored the message |
| `purge-subject` | Purges a subject pattern, optionally keeping the newest *n*. Returns the number removed. Needs `stream-delete-allow`, a filter inside `subject-allow`, and NATS 2.9.18+ for safe filtered purges |
| `delete-message` | Deletes one message by sequence; `not-found` when already gone. Needs `stream-delete-allow` and the message's subject in `subject-allow` |
| `get-stream-created` | When the server created the stream, in Unix nanoseconds |
| `message-handle.stored-at-unix-nanos` | When the server stored a delivered message, read from its delivery metadata without a wire round trip |

and to `kv`:

| Call | Notes |
| --- | --- |
| `create-with-ttl` | Creates an absent key with a per-key TTL of at least 1000ms, rounded up to whole seconds to match the server's precision. Needs NATS 2.11+ and a bucket that allows message TTLs |
| `delete-by-revision` | Deletes only at an expected revision, `revision-mismatch` otherwise. `expected-revision` must be at least 1: revisions start at 1, and 0 is refused rather than sent to a server where it would match an absent key and tombstone one that was never written |

`get-by-sequence` and `get-by-sequence-at` are **direct gets**: any server holding the stream answers, rather than the request being routed to the leader, so the stream needs `allow-direct` enabled and the server must be NATS 2.9 or newer. Without `allow-direct` nothing answers at all, which surfaces as a `jetstream` error rather than `not-found`.

Keys fall into three ownership classes, enforced by the plugin's declaration in the host's [`plugins` block](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/helm-values/#runtimehostgroupsplugins) (`workloadConfig: deny` by default on Kubernetes). Spellings are canonicalized (case-insensitive, `_` and `-` interchangeable) and unknown keys are refused. Configuration errors, unreachable servers, and out-of-grant subscriptions fail the deployment, not the first call.

**Host-owned.** Set only in the operator's declaration; a workload manifest that sets one is refused at deploy.

| Key | Description |
| --- | --- |
| `servers` | NATS server URLs for the workload's connections. Defaults to the host's [`wasmcloudNatsUrl`](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/helm-values/#runtimehostgroupswasmcloudnatsurl) |
| `name` | Connection name reported to the server |
| `jetstream-domain` | JetStream domain |
| `inbox-prefix` | Inbox prefix for request/reply |
| `creds`, `jwt`, `nkey-seed`, `username`, `password`, `token` | Credentials (the aliases `creds-file`, `nkey`, and `user` are host-owned too) |
| `nkey-seed-file`, `password-file`, `token-file` | Files holding those values instead of the values themselves (since 2.12.0; `nkey-file` is an alias for the first) |
| `jwt-as-token` | `"true"` also sends the `creds` or `jwt` user JWT as the connection token (since 2.12.0) |
| `tls-ca`, `tls-cert`, `tls-key`, `tls-first` | TLS material and handshake order |

Since 2.12.0 the host rereads every file-backed credential — `creds`, `nkey-seed-file`, `password-file`, `token-file`, and the TLS material — on **every reconnect**, so a Secret mounted into the host pod rotates without a redeploy. Mount it as a directory without `subPath`, or Kubernetes will not refresh it in place.

> **`tls-ca` now makes TLS required**
>
> Setting `tls-ca`, or a client certificate, makes TLS **required** on the connection as of 2.12.0. Before that it only supplied trust material: the NATS client upgrades to TLS when its options, a `tls://` URL, or the server's `INFO` ask for it, so against a `nats://` URL a peer on the path could drop `tls_required` from `INFO` and read whatever the `CONNECT` carried — the token, the password, or a JWT sent as a token. A connection that sets TLS material and then negotiates plaintext now fails instead. The chart passes the CA flags only when its NATS has TLS enabled, so chart deployments are unaffected. The same applies to the host's own scheduler and data connections.

Three more rules from the shared config reader, all since 2.12.0 and all applying to `wasi:blobstore` bindings as well, since they read NATS credentials through the same code:

- **A blank identity value is an error**, not an unset key. A `creds`, `token`, or client-certificate key whose value resolves to an empty string — a Secret that came back empty, say — fails the bind rather than letting the binding quietly fall back to another identity.
- **`ws://` and `wss://` servers are refused.** The bundled async-nats is built without WebSocket support, so such a URL would have been dialed as plain TCP with the TLS upgrade skipped.
- **A binding that names its own credentials no longer inherits the host's client certificate.** Under nats-server's `verify_and_map`, the user is mapped from the certificate and the username in `CONNECT` is ignored, so a binding meant to have its own identity was signing in as the host. A `wasmcloud:nats` binding that names *no* credentials still inherits the full data-plane TLS bundle.

`jwt-as-token` exists for one specific NATS topology: an auth callout on a server with no trusted operators, which drops the user JWT before the callout ever sees it. Sending the same JWT as the token gets it through. On a binding it works with `creds`, or with `jwt` plus `nkey-seed` (or `nkey-seed-file`), and a binding names only one credential, so it cannot be combined with `token` or `username`. The host's own `--scheduler-nats-jwt-as-token` and `--data-nats-jwt-as-token` flags are narrower: they require the matching `--*-nats-creds` file.

**Grant ceilings.** The operator declares the maximum grant. A workload that omits the key takes the whole ceiling; one that sets the key may only narrow it, and setting a ceiling key the host never declared is refused. A ceiling nobody set denies everything. Reserved spaces (`$JS.>`, `$SYS.>`, `$KV.>`, `$OBJ.>`, `_nats_push.>`, and the host's own control subjects) stay denied even under a `>` grant; `_INBOX` is additionally reserved for subscriptions.

| Key | Grants |
| --- | --- |
| `subject-allow` | Core subjects the workload may publish and subscribe to |
| `stream-allow` | JetStream streams the workload may read |
| `stream-delete-allow` | Streams the workload may purge messages from or delete messages in (since 2.12.0) |
| `bucket-allow` | Key-value buckets the workload may access |

`stream-delete-allow` is a second grant on top of `stream-allow`, not a replacement for it: a destructive call checks both, and the subject it affects against `subject-allow` as well. A purge filter has to fit inside `subject-allow`, and deleting a sequence checks that message's stored subject. Reading a stream has never needed `stream-delete-allow`, so an existing declaration keeps working exactly as it did — a workload simply cannot purge or delete until the operator grants it.

**Workload-owned.** Set in the entry's `config` or the component's `localResources.config`.

| Key | Format | Default |
| --- | --- | --- |
| `core-subscriptions` | `subject[:queue]`, comma-separated | none |
| `jetstream-subscriptions` | `STREAM:filter[:policy[:queue]]`, comma-separated. Policy is `all`, `last`, `last-per-subject`, or `new` (the default, which skips history) | none |
| `kv-watches` | `bucket[:filter]`, comma-separated; an omitted filter watches the whole bucket | none |
| `component` | Which component of the workload receives dispatched handler calls | the workload's only component |
| `ack-mode` | `auto` or `manual` | `auto` |
| `request-timeout-ms` | Milliseconds | unset |
| `max-in-flight` | Concurrent deliveries to the workload | `64` |
| `max-ack-pending` | JetStream unacknowledged-delivery cap | derived, floor 16 |
| `max-deliver` | Deliveries before a poison message is terminated (under `ack-mode: auto`); `0` means server-unlimited | `32` |
| `subscription-capacity` | Buffered messages per subscription | `1024` |
| `subscription-capacity-bytes` | Buffered bytes per subscription | 32 MiB |

The entry supports named bindings, so a component can import `wasmcloud:nats` under two labels to bridge two clusters. The plugin's `plugins` declaration can also carry its own egress grants (`allowedHosts`, `allowedIpNameLookups`; since 2.10.0): declared `servers` endpoints are checked at startup and at bind, and cluster-discovered peers are not followed under a ceiling, so list every failover member. For choosing between packages: `wasmcloud:messaging` abstracts the broker away; `wasmcloud:nats` exposes NATS semantics, including explicit acknowledgement, redelivery, and revision-checked writes.

## `wasi:keyvalue` and `wasmcloud:keyvalue`

`wasi:keyvalue` serves `store`, `atomics`, and `batch` (sync); `wasmcloud:keyvalue` serves `store`, `atomics`, `cas`, and `batch` (async).

An **unnamed** `wasi:keyvalue` entry binds the host's standalone backend and reads no config keys: the bucket is whatever the guest passes to `store.open()`, and the backend endpoint is a host-level setting. **Named** entries (and all `wasmcloud:keyvalue` entries) select a backend per entry:

| `backend` | Additional keys | Notes |
| --- | --- | --- |
| `in-memory` (default) | none | Isolated per entry |
| `redis` | `url` (required), `prefix` (optional) | Redis has a flat keyspace: the `open()` identifier does not namespace keys. `prefix` prepends a literal key prefix for isolation. |
| `nats` | `url` (required) | JetStream key-value; the bucket named by `open()` must already exist |
| `filesystem` | `root` (required) | Buckets are subdirectories of `root` |

A missing required key fails the workload at start with an error naming the key. Since 2.11.0 `url`, `root`, and `prefix` are [the operator's to declare](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#operator-owned-backend-addresses) under the default `workloadConfig: deny`, so on Kubernetes they belong on the plugin entry (per label, under `bindings`) rather than in the manifest. `in-memory` needs no address and so needs no declaration.

### Redis connection settings

Since 2.12.0 the redis backends hold a self-healing connection rather than one bare multiplexed connection, so a redis restart or failover no longer leaves every later call failing until the host restarts. Four keys tune it, spelled as the v1 redis provider spelled them (any case, `_` or `-`), set on a binding's `config`:

| Key | Default | Bounds |
| --- | --- | --- |
| `backend-reconnect-num-retries` | `3` | max 1000 |
| `backend-reconnect-max-delay-ms` | `300` | max 600000 |
| `backend-connection-timeout-ms` | `3000` | 1 to 600000 |
| `backend-response-timeout-ms` | none | 1 to 600000 |

One whole redial — retries times max delay plus connection timeout — has to fit inside 600000ms or the binding is refused. `backend-response-timeout-ms` is off by default on purpose: a large `SCAN` or `MGET` can legitimately be slow, and a timed-out command still runs on the server.

What is retried matters for correctness. Reads that fail on a dropped connection (`get`, `exists`, `get-many`, and the first `list-keys` page) are retried once on the new connection. **Writes are never replayed** — if the first attempt was applied and only its reply was lost, a replay could overwrite another client's write. `list-keys` cursors carry the connection generation that issued them and are refused after a reconnect, since a `SCAN` cursor is only meaningful on the server that handed it out.

> **These keys are host-owned**
>
> They are operator-owned like the address keys, so under the default `workloadConfig: deny` a workload that sets one is **refused** where it previously bound with the key ignored. A manifest carried over from a v1 redis link is the likely source. Move the value to the binding in the operator's declaration, or drop it.

A binding with different connection settings gets its own connection rather than sharing a pooled one.

## `wasi:blobstore` and `wasmcloud:blobstore`

`wasi:blobstore` (sync) and `wasmcloud:blobstore` (async) serve `blobstore`, `container`, and `types`.

An **unnamed** `wasi:blobstore` entry binds the standalone NATS backend on a production host and reads:

| Key | Description |
| --- | --- |
| `buckets` | Comma-separated allowlist of JetStream object store bucket names the workload may use. **When empty or omitted, all container operations are denied**, including `create-container`. Entries are matched exactly, without trimming whitespace. |

The filesystem and in-memory backends used by `wash dev` read no keys and apply no allowlist, so a workload that works in the dev loop still needs `buckets` set for Kubernetes.

Since 2.12.0 an unnamed entry also accepts the [`wasmcloud:nats` connection and credential keys](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#wasmcloudnats), read by the same reader with the same host-owned ownership and the same fallback to the host group's data NATS. A blobstore binding that names credentials connects as a `wasmcloud:nats` binding does, and every container it creates, opens, or deletes lives in the account those credentials sign in to. Before 2.12.0 the plugin opened every container on the host's own connection, so every workload's object stores lived in the account the host signs in to — even a workload whose `wasmcloud:nats` bindings connected to an account of its own. A declared `allowedHosts` ceiling covers the binding's `servers`.

An identity can be NATS credentials, a TLS client certificate, or both: a binding configured with only `tls-cert` and `tls-key` counts as having one and gets its own connection, where before it fell back to the host's. A binding that names neither still uses the host's connection. The three reader rules above — a blank identity value is an error, `ws://`/`wss://` is refused, and a binding with its own credentials does not inherit the host's client certificate — apply here too.

Deleted objects are treated as absent since 2.12.0: a NATS object store keeps a tombstone for a deleted object, which the plugin previously surfaced as an object that exists with no data.

**Named** entries (and all `wasmcloud:blobstore` entries) select a backend per entry: `in-memory` (default), `filesystem` (requires `root`), `nats` (requires `url`), or `s3` (since 2.12.0). Named entries do not read `buckets`. Since 2.11.0 `root` and `url` are [the operator's to declare](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#operator-owned-backend-addresses) under the default `workloadConfig: deny`.

Since 2.12.0, clearing a `filesystem` container removes the objects in it and keeps the container. Through 2.11.0 it deleted the container's directory as well, so the container no longer existed afterward. A container root that is a symbolic link is now refused rather than followed, and links inside the container are removed without following them.

### `backend: s3`

Since 2.12.0, an S3 backend built on [`object_store`](https://docs.rs/object_store). **Each container is one bucket**, and the bucket must already exist: `create-container` and `delete-container` return an error until `object_store` grows a bucket API.

Every key but `backend` is host-owned, under the names AWS uses — each one decides where a binding connects, or as whom:

| Key | Aliases |
| --- | --- |
| `region` | `aws_region` |
| `default_region` | `aws_default_region` |
| `endpoint` | `aws_endpoint`, `endpoint_url`, `aws_endpoint_url` |
| `access_key_id` | `aws_access_key_id` |
| `secret_access_key` | `aws_secret_access_key` |
| `session_token` | `aws_session_token`, `aws_token`, `token` |
| `allow_http` | `aws_allow_http` |
| `virtual_hosted_style_request` | `aws_virtual_hosted_style_request` |
| `skip_signature` | `aws_skip_signature` |
| `use_host_identity` | — |

Spellings fold on case and `_`/`-` only, so `aws_secret_access_key` and `secret_access_key` are two distinct keys to the host, not one. `bucket` is deliberately absent (the container *is* the bucket), as are the keys that would read a host file or dial a manifest-chosen URL: `web_identity_token_file`, `container_*`, `metadata_endpoint`, `role_arn`, and the proxy and certificate keys.

yaml

```yaml
# host config, or the chart's runtime.hostGroups[].plugins
secrets:
  s3-assets:
    fromEnv: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY]
host:
  plugins:
    - id: wasi-blobstore-multiplexed
      bindings:
        assets:
          config:
            backend: s3
            region: eu-central-1
          secretFrom: [s3-assets]
```

yaml

```yaml
# workload manifest
hostInterfaces:
  - namespace: wasi
    package: blobstore
    interfaces: [blobstore, container]
    name: assets
```

**Every binding names exactly one credential source**, and one that names none fails to bind rather than quietly inheriting the host's identity: static keys, `skip_signature: true` for anonymous access, or `use_host_identity: true` to run as the host (its `AWS_*` environment, then the instance role).

Under a declared `allowedHosts` ceiling, each bind checks the endpoint the client will dial — `endpoint` when set, otherwise `https://s3.{region}.amazonaws.com`. Virtual-hosted requests are refused there, because their host carries a bucket the guest names later. Combining them with an explicit `endpoint` is unsupported in any case: the client would ignore the guest's bucket and route every container to that endpoint. Not checked: the credential endpoints `use_host_identity` reaches (instance metadata, STS), which come from the host's own environment, and redirects the HTTP client follows.

Where S3 and `object_store` show through the `wasi:blobstore` surface:

- `container_exists` on a missing bucket is an **error, not `false`**, because `object_store` reports a list 404 and 403 alike. `get_container` costs one `LIST`.
- A 404 on a read is `NoSuchObject` even when it is the bucket that is missing. Only writes and deletes can tell the two apart.
- `copy_object` and `move_object` across buckets go through host memory, since `object_store` only copies within one bucket.
- A read and a listing are each buffered in host memory and refused past **64 MiB** — of data, or of object names. Read a larger object in ranges; a larger cross-bucket copy is refused.
- Object names must be nonempty paths with no leading or trailing slash, no empty or dot segments, and no control characters. An unsupported name is rejected rather than silently rewritten to a different S3 key.

## `wasi:config`

Serves `wasi:config/store`. There are no fixed key names: the component's entire view is a merged map, later layers winning on conflicts:

1. The workload's `wasi:config` entries in a stable order (unnamed first, then named), later entries winning; the host warns on conflicting keys (since 2.9.0).
2. The component's `localResources.config`.
3. The component's `localResources.environment`.

`get` and `get-all` expose exactly this merged map. Since 2.9.0 every component of the workload sees the same entry layer beneath its own `localResources`; before 2.9.0, a workload with several entries gave each component one arbitrary entry's config, varying between starts. Entries must all resolve to a single binding, so mixing a named and an unnamed `wasi:config` entry is refused at deploy. Under `wash dev`, the project's `workload.config` values are injected into the `wasi:config` entry automatically.

## `wasmcloud:secrets`

Serves `store` and `reveal`, plus labeled `secret` imports, at `2.1.0`. Values are delivered from the entry's config, which on Kubernetes typically arrives via `secretFrom`. There are no fixed key names:

- **Unlabeled imports** (`store`/`reveal`): the config maps of every unnamed `wasmcloud:secrets` entry are flattened into one per-component map, and `store.get(key)` looks keys up there. The same key set by two entries fails the workload at start.
- **Labeled imports** (`secret` via `(implements ..)`): the entry's `name` doubles as the config key. The value at `config[<name>]` in that entry backs the label's `get()`. A label with no matching value fails the workload at start, naming the missing key.

See [Workload Security](https://wasmcloud.com/docs/kubernetes-operator/workload-security/) for the delivery model and [Interfaces](https://wasmcloud.com/docs/overview/interfaces/#wasmcloud-interfaces) for the package.

## `wasmcloud:postgres`

Serves `query`, `prepared`, and `types` at `0.1.1-draft` (sync) and `0.2.0` (async); the entry's `version` selects the revision.

- An **unnamed** entry requires the host to be started with a base connection URL (`wash host --postgres-url` or `dev.postgres_url`) and reads one key: `database` (required; the workload fails to start without it). Credentials, host, and TLS come from the host-level URL.
- A **named** entry reads `url` (required): a full Postgres connection string. Since 2.11.0 this is [the operator's to declare](https://wasmcloud.com/docs/kubernetes-operator/host-interface-configuration/#operator-owned-backend-addresses) under the default `workloadConfig: deny`, per label under `bindings`.

Both URL forms honor two query parameters: `pool_size` (connection pool size, default 10) and `sslmode` (`require`, `verify-ca`, or `verify-full` to enable TLS).

Since 2.11.0 `database` on an unnamed entry is a **grant ceiling** rather than a free-form key: the operator lists the databases a workload may select, comma-separated, and the workload names one of them.

yaml

```yaml
runtime:
  hostGroups:
    - name: default
      plugins:
        - id: wasmcloud-postgres
          config:
            database: app, reports
```

A `deny` host that serves the unnamed import must carry such a declaration — without one, a workload setting `database` is refused, because a grant the operator never declared cannot be narrowed into. A workload naming a database outside the ceiling is refused too, naming the value and the ceiling. When the ceiling lists several databases and the workload names none, the workload fails at start with a message listing them, since the host cannot choose on its behalf. A single-database ceiling is the simplest shape: the workload may then omit the key.

Separately from the `database` ceiling: when the plugin entry declares an **`allowedHosts`** ceiling, the host checks its own `--postgres-url` against it at startup, so a base URL outside the list fails host startup rather than being discovered at first query.

### Parameter types are checked since 2.12.0

A bound parameter whose type cannot be the parameter's type is now refused with `invalid-params`, which is what the interface has always documented for "a value whose type does not match the target column". Before 2.12.0 nothing refused a mismatch: every scalar went to its inner encoder, and those encoders ignore the parameter type. When the widths happened to match, Postgres read the bytes as a different value — an `int8(1)` bound to a `float8` parameter came back as `5e-324`. When they did not, the error named no parameter type.

The rules:

- Integers, floats, `bool`, `date`, and `time` bind only to their own type. A domain is checked as its base type.
- `timestamp` and `timestamptz` values bind to either, since they share a binary encoding.
- Text is refused for fixed-width and structured types (`int*`, `float*`, `bool`, `oid`, `money`, `date`, `time`, `timestamp`, `timestamptz`, `interval`, `numeric`, `uuid`) and still binds to `json`, `xml`, enums, and domains over text.
- An array bound to a shallower parameter is refused as well.

Both the sync and the async bindings share the check. A query that silently produced a wrong value now returns an error instead, so a component relying on the old coercion will start failing — which is the point, but worth knowing before you upgrade.

## Interfaces with no configuration

- **`wasi:logging`**: structured logs flow to the host's logging pipeline; no keys.
- **`wasi:otel`**: no per-workload keys. The host's own export is configured with standard `OTEL_*` environment variables and activates only when an endpoint variable is set (see [Host telemetry](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/telemetry/)); the plugin is active only on hosts started with `--wasi-otel`.
- **`wasi:webgpu`**: no keys; active only on hosts started with `--wasi-webgpu`.
- The WASI base (`wasi:io`, `wasi:clocks`, `wasi:random`, `wasi:filesystem`, `wasi:sockets`, `wasi:cli`) is always available and reads no `hostInterfaces` config. Where these are configurable at all it is through workload-level fields: the egress and loopback allowlists under [component resource controls](https://wasmcloud.com/docs/kubernetes-operator/crds/#component-resource-controls) for `wasi:sockets`, and [volumes](https://wasmcloud.com/docs/kubernetes-operator/crds/#volumes) for `wasi:filesystem`. `wasi:io`, `wasi:clocks`, `wasi:random`, and `wasi:cli` have no settings at all.
- Since 2.11.0 a plugin can replace functions in a host-linked WASI interface — the base above plus `wasi:http` — for workloads that opt in. That is a [custom-host capability](https://wasmcloud.com/docs/runtime/creating-host-plugins/#overriding-wasi-builtin-interfaces) rather than something a `plugins` entry can request.

## `wash dev` differences

The same keys apply to entries under `dev.host_interfaces` in [wash configuration](https://wasmcloud.com/docs/wash/config/), with these differences:

- Interfaces are also derived automatically from the component's own WIT imports, so most projects need no explicit entries.
- HTTP routing ignores `host`, `host-aliases`, and `localRoute`.
- Messaging keys are read from the component's config (`workload.config` merged with `dev.components[].config`), and the in-memory backend delivers all subjects when `subscriptions` is unset.
- Secrets values come directly from entry config, with no Kubernetes Secret indirection.
- `wasmcloud:nats` has no in-memory backend: under `wash dev` it connects to a real NATS server (the dev session's data NATS URL, `nats://localhost:4222` by default), and `workloadConfig` defaults to `allow` in dev.

## Related documentation

- [Host Interfaces (CRD guide)](https://wasmcloud.com/docs/kubernetes-operator/crds/#host-interfaces): entry structure and multi-backend binding.
- [Interfaces overview](https://wasmcloud.com/docs/overview/interfaces/): the WIT packages themselves.
- [Secrets and Configuration Management](https://wasmcloud.com/docs/kubernetes-operator/operator-manual/secrets-and-configuration/): `config`, `configFrom`, and `secretFrom` in depth.
- [Troubleshooting](https://wasmcloud.com/docs/troubleshooting/#missing-host-interface-implementation-in-the-linker): errors when an interface is not declared.

Last updated on **Nov 19, 2026** by **Liam Randall**
