CLI command
skarbiec set
Write a schema-validated typed item from field=value arguments.
Invocation#
skarbiec set <id> [--type <canonical-kind>] [--recipients <uid,...>] [--tags <tag,...>] <field=value>...Purpose#
Write a schema-validated typed item from field=value arguments.
Required inputs and options#
- Requires an item id and the fields required by its canonical kind. --type defaults to login; --recipients and --tags replace those metadata lists when present and otherwise preserve them on an existing item.
Output and state effects#
- Encrypts a new revision, preserves absent metadata options, and prints ok, id, and kind. An existing owner-controlled item is rotated to the new payload.
Refusals#
- Refuses invalid schema fields, the reserved managed:weles tag, a tag the write would introduce under no registered namespace, and direct owner writes to lifecycle-controlled or externally managed items.