FeaturesEntry types
RecoveryCodes — Recovery codes
One-time or backup code lists.
Recovery Codes type (RecoveryCodes, discriminant 5) — Passwords category. One-time or backup code lists.
Classification
← Types index · Category: Passwords · Discriminant: 5
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
recovery_codes | String | no | yes | Recovery codes (one per line) |
backup_codes | Option<String> | yes | yes | Backup codes (optional) |
emergency_codes | Option<String> | yes | yes | Emergency codes (optional) |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): recovery_codes, backup_codes, emergency_codes.
Attachments
Attachments
Like all entry types, a RecoveryCodes entry may have encrypted attachments via Entry.attachments (EntryAttachments: files, folders). Add them by drag-and-drop in the entry editor; binary content is encrypted with the vault.
In the app
Create a Recovery Codes entry: vault → + → type RecoveryCodes → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).