3.2.0-beta.10). Tính năng có thể thay đổi trước bản stable tiếp theo.Chuyển sang stable →approvals
ak secrets approvals deny
Từ chối một yêu cầu đang chờ từ thiết bị khác.
Từ chối một yêu cầu đang chờ từ thiết bị khác.
Dùng ak secrets approvals deny với đối số và tùy chọn dưới đây. Phần help nguyên bản giữ nguyên thuật ngữ, cú pháp, tác động và điều kiện thực thi của CLI để đối chiếu chính xác.
Contract và help của lệnh
Deny a pending request from another device
Synopsis
Deny the pending request <id> (or a unique prefix of it) with a decision signed by this device. The requesting device refuses the release and does not ask again until the request expires. An id that starts with "-" goes after "--", as in "ak secrets approvals deny -- -r_nM".
Effects: Signs one decision with this device's key and sends it to the vault server. The first answer wins; a request already answered, withdrawn or expired is refused with 3.
Exit status: 0 success 1 the vault server does not serve remote approvals, or an unexpected failure 2 invalid invocation, an ambiguous id prefix, or the store moved since enable 3 no pending request has that id (answered, withdrawn or expired) 5 local storage failure 6 this device may not answer (a machine device or a reader), or an agent ran approve 10 sync is not enabled on this device 11 the vault server is unavailable or busy; retry 13 integrity alarm; sync halted 14 not logged in, or this device was removed
ak secrets approvals deny <id> [flags]Examples
ak secrets approvals deny 3f2a
ak secrets approvals deny 3f2a --jsonOptions
--backend string Storage backend: keychain (default), file (age-encrypted vault), or memory (dev/test; values and its index are throwaway)
-h, --help help for deny
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--unlock-with-recovery Open the file backend's vault with a recovery private key and set a new passphrase
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak secrets approvals - Answer secret requests sent from another synced machine