-
-
Notifications
You must be signed in to change notification settings - Fork 5
CLI‑password file
rhoopr edited this page May 26, 2026
·
5 revisions
Read the iCloud password from a file on each auth attempt.
kei sync --password-file /run/secrets/icloud_password- Default: none
- Type: file path
- Env var:
KEI_PASSWORD_FILE - TOML key:
[auth].password_file - Conflicts with
--passwordand--password-command
The file is read every time kei needs to authenticate, not just at startup. In watch mode, this lets you rotate the secret without restarting kei.
Trailing newlines are stripped. The file should contain only the password.
services:
kei:
image: ghcr.io/rhoopr/kei:latest
secrets:
- icloud_password
command:
- service
- run
- --config
- /config/config.toml
- --password-file
- /run/secrets/icloud_password
secrets:
icloud_password:
file: ./icloud_password.txt