AgentKit
DocsKitsCLI ReferenceDesktop App
BetaYou are reading docs for the beta channel (3.2.0-beta.10). Features may change before the next stable release.Switch to stable →

sync

ak secrets sync

Sync secrets across your machines with end-to-end encryption (preview)

Use ak secrets sync for the operation described below. The command help records its arguments, effects, and options.

Command contract

Sync secrets across your machines with end-to-end encryption (preview)

Synopsis

Opt-in. Values, names and metadata are encrypted on this device before upload; the server cannot read them. With sync off, ak secrets makes no network requests. resolve always reads this device's local store and never waits for the network. Changes sync when ak secrets sync now runs, or continuously under --watch.

Examples

  ak secrets sync enable --recovery-kit-out ./vault-recovery-kit.txt
  ak secrets sync now
  ak secrets sync status --json

Options

  -h, --help             help for sync
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
  -q, --quiet            Suppress non-error output on stderr
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO