Encrypted Metadata
Configure which metadata format (encrypted v5 or legacy cleartext v4) is used for new resources. You can enable both formats during migration, or enforce only encrypted metadata for new installations.
New instances set up on passbolt 5.4.0 or later come with encrypted metadata enabled by default: new content is created in the v5 format. Instances upgraded from an earlier version keep creating v4 cleartext content until an administrator enables encrypted metadata, either on this screen or from Administration > Resource types > Getting started with "Enable encrypted metadata and new resource types (recommended)".
The default activation on new instances is governed by the passbolt.plugins.metadata.enableForNewInstances flag, true by default, and the administrator can decline it during setup by choosing "Keep legacy cleartext metadata".
What is Metadata Encryption?
Metadata encryption encrypts:
- Resource names, usernames, URLs, descriptions, and custom field keys

Requirements and Warnings
Requirements:
- API version v5.2 or higher
- A shared metadata key (generated automatically on installation)
Warnings:
- Enabling encrypted metadata has an impact on the auditability of resource metadata that won't be stored in clear anymore
- Migrating content to encrypted metadata might break your in-house integration with passbolt
- See Metadata Key for key distribution configuration
Configuration Options
Navigate to Organisation settings > Content types > Encrypted metadata to configure metadata encryption options:

Enable Encrypted Metadata
Enables support for encrypted metadata (v5 format). New resources can use encrypted fields for name, username, URI, and description.
Enable Legacy Cleartext Metadata
Enables support for legacy v4 formats with unencrypted metadata. When enabled, legacy metadata formats can be selectively re-enabled by content type on the Allow Content Types page.
Default Metadata Type
Choose the default metadata format for newly created resources:
- Encrypted metadata (recommended)
- Legacy cleartext metadata
This option is only visible and configurable when both "Enable Encrypted Metadata" and "Enable Legacy Cleartext Metadata" options are enabled above.
Self-Served Migration
Allow users to manage their own format changes:
- Upgrade from cleartext to encrypted: Users can convert their existing resources from cleartext to encrypted format
- Downgrade from encrypted to cleartext: Users can convert their existing resources from encrypted to cleartext format
These migration options are only relevant when both metadata formats are enabled.
Security Considerations
The level of protection metadata encryption provides depends on which key type you use and how it is distributed. The table below summarises the risk coverage for each configuration.
The columns are grouped into two categories:
- Secret: the encrypted password or secret data, always end-to-end encrypted with the user's personal key.
- Metadata: resource names, URLs, and other metadata. Protection depends on the key configuration:
- Personal Key: encrypted with the user's own OpenPGP key. See Metadata Key.
- Shared Key (Zero-knowledge): encrypted with the shared metadata key, distributed manually by an administrator. See Zero-Knowledge Mode.
- Shared Key (Server-knowledge): encrypted with the shared metadata key, distributed automatically by the server. See User-Friendly Mode.
| Risk scenario | Secret: Personal Key | Metadata: Personal Key | Metadata: Shared Key (Zero-knowledge) | Metadata: Shared Key (Server-knowledge) |
|---|---|---|---|---|
| 1. Unencrypted backup access: attacker manages to decrypt or access cleartext backups and view metadata. |