CLI command
skarbiec credential adopt
Bring an operator-supplied current password into a newly managed lifecycle only after provider verification.
Invocation#
printf '%s' '<current-password>' | skarbiec credential adopt <item-id> --provider <provider> --consumer <consumer> --password-stdin [--account <email>] --localPurpose#
Bring an operator-supplied current password into a newly managed lifecycle only after provider verification.
Required inputs and options#
- Requires item id, provider, consumer, --password-stdin, --local, and the candidate on stdin. Login creation also needs account identity through --account or a sealed contract.
Output and state effects#
- Stages the candidate privately, asks Weles to verify it, and commits it only on operation_completed; it prints persisted operation state, never the password.
Refusals#
- Refuses remote mode, argv passwords, dry-run, takeover of an existing unmanaged item, a different Weles writer, already-managed credentials, and unconfirmed candidates.