3.2.0-beta.10). Features may change before the next stable release.Switch to stable →sync
ak secrets sync disable
Stop syncing on this device; local secrets stay
Use ak secrets sync disable for the operation described below. The command help records its arguments, effects, and options.
Command contract
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)