CLI command

skarbiec request watch

Show each pending request this decider may answer in a macOS dialog on the vault host and apply the answer.

Invocation#

Shell
skarbiec request watch --local --by <uid>

Purpose#

Show each pending request this decider may answer in a macOS dialog on the vault host and apply the answer.

Required inputs and options#

  • --local, the only channel this build delivers to, and --by, the decider whose requests it shows.

Output and state effects#

  • Shows what is asked, why and by whom in the decider's language, with approve and deny; approving asks the lifetime as once, until revoked or a number of hours typed. It waits for the person without a timeout and, between requests, on a FIFO every register writer pokes, so a new request appears as it is filed. Prints ok when it stops.

Refusals#

  • A flag other than --local and --by exits 2 (arguments-flag-unknown); without --local or --by exits 2 naming the missing one. A dialog that cannot be started or shown, or an answer it did not offer, stops the watcher naming it (request-dialog-unstarted, request-dialog-unavailable) and every request stays as it was.