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 disable
Dừng đồng bộ trên thiết bị này; các secret cục bộ vẫn được giữ.
Dừng đồng bộ trên thiết bị này; các secret cục bộ vẫn được giữ.
Dùng ak secrets sync disable 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
Stop syncing on this device; local secrets stay
Synopsis
Stop syncing on this device. Local secrets stay. --purge also deletes this device's sync keys and state; it is refused when an AI agent runs it. Neither form contacts the server: this device stays a vault member until ak secrets devices remove runs on another device. Re-enable a plain disable with ak secrets sync enable --resume.
Effects: Without --purge, marks sync disabled in local sync state. With --purge, deletes this device's sync keys from the keystore and the sync state under AgentKit home; only empty lock files stay.
Exit status: 0 sync disabled 2 --purge without a terminal or --yes, or declined 5 local storage failure 6 refused: an AI agent is running disable --purge 10 sync is not set up on this device 11 a sync cycle is running; retry
ak secrets sync disable [flags]Examples
ak secrets sync disable
ak secrets sync disable --purge --yesOptions
--backend string Storage backend: keychain (default), file (age-encrypted vault), or memory (dev/test; values and its index are throwaway)
-h, --help help for disable
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
--purge Also delete this device's sync keys and sync state
-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)