FeaturesEntry types
CreditCard — Bank cards
Payment card PAN, expiry, and CVV.
Credit Card type (CreditCard, discriminant 6) — Financial category. Payment card PAN, expiry, and CVV.
Classification
← Types index · Category: Financial · Discriminant: 6
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
cardholder | String | no | no | Cardholder name |
number | String | no | yes | Card number |
expiry | String | no | yes | Expiry date |
cvv | String | no | yes | CVV |
bank_name | Option<String> | yes | no | Bank name |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): number, expiry, cvv.
Attachments
Attachments
Like all entry types, a CreditCard 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 Credit Card entry: vault → + → type CreditCard → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).