{ "format_version": 1, "id": "secret", "name": "Password", "plural": "Passwords", "visibility": "owner", "title": "name", "columns": [ { "key": "name", "name": "Name", "type": "text", "required": true }, { "key": "kind", "name": "Kind", "type": "choice", "choices": [ "login", "api_key", "note", "card", "identity", "document", "code", "wifi", "address", "file" ], "required": true, "readonly": true, "choice_names": { "login": "Login", "api_key": "API key", "note": "Note", "card": "Card", "identity": "ID", "document": "Document password", "code": "One-time code", "wifi": "Wi-Fi", "address": "Address", "file": "File" } }, { "key": "site", "type": "text", "name": "Website", "shown_when": { "column": "kind", "values": [ "login", "api_key" ] } }, { "key": "username", "name": "Username", "type": "text", "shown_when": { "column": "kind", "values": [ "login" ] } }, { "key": "service", "name": "Service", "type": "text", "shown_when": { "column": "kind", "values": [ "api_key" ] } }, { "key": "hint", "name": "Hint", "type": "text", "readonly": true }, { "key": "sealed", "name": "Sealed", "type": "longtext", "readonly": true }, { "key": "value_enc", "name": "Sealed on your devices", "type": "text", "readonly": true, "secret": true }, { "key": "vmk_version", "name": "Vault key version", "type": "number", "readonly": true }, { "key": "expires_at", "type": "date", "name": "Runs out", "month": true }, { "key": "last_used_at", "type": "date", "readonly": true, "name": "Last used" }, { "key": "favourite_at", "name": "Favourite", "type": "date", "readonly": true }, { "key": "uses", "name": "Filled", "type": "number", "readonly": true }, { "key": "passkey_id", "name": "Passkey", "type": "text", "readonly": true }, { "key": "changed_at", "name": "Password changed", "type": "date", "readonly": true }, { "key": "history_enc", "name": "Earlier passwords", "type": "text", "readonly": true, "secret": true }, { "key": "trashed_at", "type": "date", "readonly": true, "name": "Binned" }, { "key": "updated_at", "name": "Updated", "type": "date", "readonly": true } ], "instructions": "A password record holds a login, an API key, a card, an identity or a secure note, sealed so only the devices in this database can open it — your own, or the people you share it with. Assistants can create, list, update and bin passwords, but never read one back. Never repeat a secret the owner typed into a conversation anywhere else.", "tables": [], "create": { "label": "Add a password", "doors": [ { "id": "new", "label": "New password", "object": "slip", "act": { "name": "password_new", "argument": "site", "lands": "id" } }, { "id": "apple_passwords", "label": "Bring Apple Passwords in", "object": "stack", "files": { "types": [ "public.comma-separated-values-text" ] } } ] }, "card": { "face": "secret", "fields": [ { "slot": "title", "column": "name" }, { "slot": "subtitle", "column": "site", "also": [ "service" ] }, { "slot": "body", "column": "username", "label": "label.secret.username" }, { "slot": "state", "column": "kind", "only": [ "api_key", "note", "card", "identity", "document", "code", "wifi", "address" ] }, { "slot": "date", "column": "last_used_at", "form": "relative", "label": "label.secret.last_used" }, { "slot": "expires", "column": "expires_at", "label": "label.secret.expires" } ] }, "picture": { "photo": "photo:3485bc7f726643a724a61ed3bf6954642e04592b99ed907c0becaf09b45029f1", "object": "tool-passwords" }, "builtin": true, "engine": "vault", "date": null, "project": null, "order": null, "slip": { "title": "name", "subtitle": [ "site", "service" ], "trailing": "kind", "photo": null, "toggle": null, "subtitle_first": true }, "tile": { "face": "card-grid" }, "page": [ { "heading": null, "columns": [ "name", "kind" ] }, { "heading": "Where it is used", "columns": [ "username", "site", "service" ] }, { "heading": "Dates", "columns": [ "expires_at", "last_used_at", "updated_at", "trashed_at" ] } ], "readonly_when": "trashed_at", "sealed": true, "record_route": "/passwords/[id]", "group": { "column": "kind", "sections": [ { "heading": "Logins", "values": [ "login" ] }, { "heading": "API keys", "values": [ "api_key" ] }, { "heading": "Notes", "values": [ "note" ] }, { "heading": "Cards", "values": [ "card" ] }, { "heading": "IDs", "values": [ "identity" ] }, { "heading": "One-time codes", "values": [ "code" ] }, { "heading": "Wi-Fi", "values": [ "wifi" ] }, { "heading": "Addresses", "values": [ "address" ] } ] }, "empty": { "title": "Nothing kept yet", "message": "Passwords, keys, cards and IDs, sealed with this database’s key, which only the devices in it hold." }, "commands": [ { "id": "copy_password", "label": "Copy", "object": "copy", "kind": "copy", "copies": "$sealed" }, { "id": "delete", "label": "Delete", "kind": "delete", "verb": "delete_record", "data": { "table": "secret" }, "confirm": "Undo on the receipt brings it back.", "bindings": { "id": "$id" }, "receipt": "Deleted", "does": "destroys", "object": "bin" } ], "tool": { "views": [ { "id": "all", "label": "All", "visibility": "owner", "is_default": true, "read": { "table": "secret", "empty": { "line": "empty_views.passwords.all", "table": true } } }, { "id": "favourites", "label": "Favourites", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "favourite_at": { "present": true } }, "empty": { "line": "empty_views.passwords.favourites", "table": true } } }, { "id": "codes", "label": "Codes", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "code" }, "empty": { "line": "empty_views.passwords.codes", "table": true } } }, { "id": "logins", "label": "Logins", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "login" }, "empty": { "line": "empty_views.passwords.logins", "table": true } } }, { "id": "cards", "label": "Cards", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "card" }, "empty": { "line": "empty_views.passwords.cards", "table": true } } }, { "id": "notes", "label": "Notes", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "note" }, "empty": { "line": "empty_views.passwords.notes", "table": true } } }, { "id": "ids", "label": "IDs", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "identity" }, "empty": { "line": "empty_views.passwords.ids", "table": true } } }, { "id": "wifi", "label": "Wi-Fi", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "wifi" }, "empty": { "line": "empty_views.passwords.wifi", "table": true } } }, { "id": "addresses", "label": "Addresses", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "address" }, "empty": { "line": "empty_views.passwords.addresses", "table": true } } }, { "id": "api_keys", "label": "API keys", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "api_key" }, "empty": { "line": "empty_views.passwords.api_keys", "table": true } } }, { "id": "documents", "label": "Documents", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "document" }, "empty": { "line": "empty_views.passwords.documents", "table": true } } }, { "id": "health", "label": "Health", "visibility": "owner", "is_default": false, "read": { "table": "secret", "where": { "kind": "login" }, "empty": { "line": "empty_views.passwords.health", "table": true } }, "sort": { "column": "changed_at", "descending": false, "tie": "name", "tie_descending": false } } ], "name": "Passwords", "purpose": "Passwords and other private secrets.", "key": "passwords", "icon": "key-round", "card_stock": "grey", "route": "/passwords" }, "parts": { "shape": "sheet", "head": { "facts": [ "kind", "username" ] }, "links": [], "lists": [], "acts": { "main": "copy_password", "more": [], "away": "delete" }, "cards": [ { "column": "kind" }, { "column": "username" }, { "column": "site" }, { "column": "service" }, { "column": "expires_at" }, { "column": "last_used_at" } ], "strip": [] }, "groups": { "stack": "slips" } }