mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
docs: document key/value entries
This commit is contained in:
@@ -88,7 +88,7 @@ Each entry is stored within `seedpass_entries_db.json.enc` under the `entries` d
|
||||
- **username** (`string`, optional): Username associated with the entry.
|
||||
- **url** (`string`, optional): Website or service URL.
|
||||
- **archived** (`boolean`): Marks the entry as archived when `true`.
|
||||
- **type** (`string`): The entry type (`password`, `totp`, `ssh`, `seed`, `pgp`, `nostr`, `note`).
|
||||
- **type** (`string`): The entry type (`password`, `totp`, `ssh`, `seed`, `pgp`, `nostr`, `note`, `key_value`).
|
||||
- **kind** (`string`): Synonym for `type` kept for backward compatibility.
|
||||
- **notes** (`string`): Free-form notes.
|
||||
- **custom_fields** (`array`, optional): Additional user-defined fields.
|
||||
@@ -236,6 +236,21 @@ Each entry is stored within `seedpass_entries_db.json.enc` under the `entries` d
|
||||
}
|
||||
```
|
||||
|
||||
#### 7. Key/Value
|
||||
|
||||
```json
|
||||
{
|
||||
"entry_num": 6,
|
||||
"fingerprint": "a1b2c3d4",
|
||||
"kind": "key_value",
|
||||
"data": {
|
||||
"key": "api_key",
|
||||
"value": "<encrypted_value>"
|
||||
},
|
||||
"timestamp": "2024-04-27T12:40:56Z"
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Handling `kind` Types and Extensibility
|
||||
|
Reference in New Issue
Block a user