kosh update
Update the label, user or secret of an existing credential, identified by its numeric ID.
Update an existing credential, identified by its numeric ID.
kosh update <id>Arguments: exactly one — the numeric ID from kosh list.
After the master password is verified you choose which single field to change — label, user or secret — and are asked to confirm before anything is written.
- Renaming a label or user cannot produce a duplicate: if another credential already uses the
resulting label and user pair, the update is aborted with
credential already exists. - Renames are confirmed neutrally, because they are reversible.
- Changing the secret re-encrypts it with a fresh ephemeral key and nonce, and the previous value is gone for good.
Examples
Section titled “Examples”kosh update 3
kosh list -l githubkosh update 7See also
Section titled “See also”- Managing Credentials — the guide, with the confirmation flows
kosh delete— remove a credential entirely