Secrets and encryption
Fontana keeps credentials out of workflow configuration and out of browser responses. Workspace secrets, MCP header values and tokens, LLM API keys (Bring Your Own Key, BYOK), and service credentials resolve from HashiCorp Vault inside your workspace when a run or call needs them. TLS protects data on the wire and encrypted block storage protects it on disk; both are described below.
A secret is written once, read by the server at run time, and shown to people by name only.
Secrets model
Section titled “Secrets model”| Secret type | Storage | When resolved | What the browser sees |
|---|---|---|---|
| Identity SMTP (password-reset mail) | Workspace Vault | On save, then when the identity provider sends mail | Metadata only in Admin |
| Workspace secrets (REST API and Data Connector credentials) | Workspace Vault; nodes hold {{secret.NAME}} references |
By the workflow engine at run time, from the workflow’s own workspace | The workspace Config tab shows names and who last set them |
| MCP header values | Workspace Vault | On server-side MCP calls | AI → Tools and MCP shows Set or Not set |
| MCP OAuth tokens | Workspace Vault | On server-side MCP calls | Never returned to Flow |
| Service credentials (workflow engine, audit ingest) | Vault-backed OAuth clients | During backend token introspection | Not used by browser sessions |
Vault is initialised when your workspace is provisioned and is the system of record for every secret value. Its unseal material stays inside the workspace and is escrowed by your platform team.
BYOK scopes
Section titled “BYOK scopes”LLM credentials support organisation, team, and person scopes, so you can align keys with procurement and chargeback. Resolution fails closed: if no key exists at the required scope, the call does not fall back to another scope’s credentials or to a Fontana-owned account.
See Bring Your Own Key (BYOK) for the Admin paths and gateway approval.
Secret rotation
Section titled “Secret rotation”| Secret class | Who rotates | Procedure |
|---|---|---|
| Identity SMTP (password-reset mail) | Your admin in Admin → Email | Save host, from, user, and password; Fontana writes Vault and updates the identity provider immediately |
| Workspace secrets (REST API and Data Connector credentials) | Workspace editors and admins on the workspace Config tab | Replace the value; the next run executes every node that uses the secret with the new value |
| MCP credentials | Your admin on AI → Tools and MCP | Replace the header value or reconnect OAuth; the next MCP call uses the new value |
| SCIM bearer token | Your identity team in the Zitadel console | Rotate the SCIM token in Zitadel and update your corporate identity provider’s SCIM app |
| Service OAuth clients (workflow engine, audit ingest) | Your platform team during a controlled upgrade | Rotated through Vault-backed provisioning as part of the deploy |
| Graph database credentials | Your platform team | Rotate in Vault, then redeploy so dependent services pick up the new value |
| Vault unseal material | Your platform team | Escrowed outside the install; never part of a backup or an export, and every restore checks it is in place first |
Rotation replaces the stored value in Vault, so historical workflow configuration holds no prior value. Runs that already completed used the key effective at execution time. The Activity log records that a workspace secret was set, replaced, or deleted, by name, without storing the value.
Encryption in transit
Section titled “Encryption in transit”| Hop | Protection |
|---|---|
| Internet to your workspace hostname | TLS at the cluster ingress, with certificates issued and renewed by cert-manager |
| Workspace-internal service to service | HTTP on the cluster network; NetworkPolicy restricts which pods may talk |
| Pods to external LLM or connector APIs | HTTPS to the provider endpoint, with egress allowed on port 443 |
The compensating controls for plain HTTP between pods are default-deny NetworkPolicy, a namespace per workspace, and no multi-tenant pod sharing on the data plane. The full hop-by-hop table is in Network and hardening.
Encryption at rest
Section titled “Encryption at rest”Production clusters use encrypted block storage for the volumes that back workspace persistent volumes: databases, backend data, the Knowledge Graph store, the workflow file store, and Vault storage.
Fontana applies no separate field-level encryption on workflow datasets. Protection relies on infrastructure encryption plus workspace isolation, so only your workspace’s workloads mount your volumes.
Workflow run data (uploads, datasets, lineage files, exports) persists on a dedicated ReadWriteOnce volume per workspace and survives upgrades.
Backup and disaster recovery
Section titled “Backup and disaster recovery”Workspace configuration, such as models, MCP connections, and external agent connections, is kept as files in Fontana Files, and those files hold no secret values. BYOK keys, workspace secrets, chat tokens, MCP header values, bearer tokens, and OAuth credentials live only in Vault.
The nightly backup covers your Fontana Files namespaces in both backup modes, and the databases and graph store in full mode. Both modes, and every fontana export, also carry a secret-store export written apart from the namespace files. After disaster recovery, that export is how you restore secrets and BYOK keys. Unseal material stays with each install and is escrowed separately; fontana restore checks that the target’s Vault is unsealed and that its unseal material is in place before it changes any data. See Backup and restore.
Related documentation
Section titled “Related documentation”- Workspace isolation: a separate Vault per workspace
- Identity and access: Zitadel and RBAC, distinct from BYOK
- Workspace secrets: write-only REST API and Data Connector credentials per workspace
- Immutable audit trail: the security events recorded when secrets and admin settings change
- SOC 2 control summary: the secrets and encryption rows