CLI command
skarbiec get
Decrypt one item for its owner, or return one exact text field only.
Invocation#
skarbiec get <id> [--field <field>]Purpose#
Decrypt one item for its owner, or return one exact text field only.
Required inputs and options#
- Requires an item id. --field selects a non-empty exact field name; omitting it requests the canonical decrypted item JSON.
Output and state effects#
- Prints the full decrypted item as JSON, or writes only the selected text value to stdout. It changes no state.
Refusals#
- Refuses an empty/control-character field, a missing field, a non-text selected field, a trashed item, or ciphertext the active keyring cannot open.