FeaturesEntry types
ConfigSnippet — Configuration snippets
`.env` or config paste.
Config Snippet type (ConfigSnippet, discriminant 17) — Note category. .env or config paste.
Classification
← Types index · Category: Note · Discriminant: 17
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
content | String | no | yes | Content |
filename | Option<String> | yes | no | Filename (optional) |
config_content | Option<String> | yes | no | Content |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): content.
Attachments
Attachments
Like all entry types, a ConfigSnippet 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 Config Snippet entry: vault → + → type ConfigSnippet → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).