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 →sync
ak secrets sync status
Xem trạng thái đồng bộ của thiết bị này mà không liên hệ server.
Xem trạng thái đồng bộ của thiết bị này mà không liên hệ server.
Dùng ak secrets sync status 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
Show this device's sync state without contacting the server
Synopsis
Report whether sync is enabled, the vault and device IDs, the last pull and push, pending work, open conflicts, quarantined items, any integrity alarm, and whether the current sign-in can sync (sync needs an email sign-in, or an API key with vault sync turned on, which enrolls this device on first use). Reads local state only: no network, no keystore, and no vault passphrase.
Effects: Read-only: reads the sync config, sync state and sign-in session under AgentKit home (briefly taking the session file lock other ak commands share).
Exit status: 0 status reported, enabled or not 2 invalid invocation 5 local sync state could not be read
ak secrets sync status [flags]Examples
ak secrets sync status
ak secrets sync status --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 status
--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 sync - Sync secrets across your machines with end-to-end encryption (preview)