-
-
Notifications
You must be signed in to change notification settings - Fork 5
CLI‑password command
rhoopr edited this page May 26, 2026
·
3 revisions
Run a shell command to get the iCloud password on each auth attempt.
kei sync --password-command "op read 'op://vault/icloud/password'"
kei sync --password-command "vault kv get -field=password secret/icloud"
kei sync --password-command "pass icloud/password"- Default: none
- Type: shell command string
- Env var:
KEI_PASSWORD_COMMAND - TOML key:
[auth].password_command - Conflicts with
--passwordand--password-file
The command runs through the system shell. stdout becomes the password; trailing newlines are stripped. A non-zero exit makes auth fail and includes stderr in the error.
The command is run every time kei needs to authenticate, so temporary tokens and rotated secrets work without restarting watch mode.