AgentKit
Tài liệuBộ kitTham chiếu CLIỨng dụng Desktop
BetaBạn đang đọc tài liệu kênh beta (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

Đồng bộ secret giữa các máy của bạn với mã hóa đầu cuối (preview).

Đồng bộ secret giữa các máy của bạn với mã hóa đầu cuối (preview).

Dùng ak secrets sync 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

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