-
-
Notifications
You must be signed in to change notification settings - Fork 5
Password
rhoopr edited this page Apr 13, 2026
·
3 revisions
Manage stored credentials in the OS keyring or encrypted file store.
Replaces the deprecated credential command.
# Store a password (prompts interactively)
kei password set -u my@email.address
# Remove a stored password
kei password clear -u my@email.address
# Show which credential backend is active
kei password backend| Subcommand | Description |
|---|---|
set |
Store a password in the credential store. Prompts for input. |
clear |
Remove the stored password for the given username. |
backend |
Print the active backend: keyring, encrypted-file, or none. |
On desktop platforms, kei uses the OS keyring (macOS Keychain, Linux Secret Service, Windows Credential Manager). In headless environments without a keyring, it falls back to an AES-256-GCM encrypted file in the data directory.
See Credentials for details on each backend and alternative password delivery methods.
Global flags (--username, --config, --data-dir, --domain, --log-level) apply to this command.
| Flag | Description |
|---|---|
-p, --password |
iCloud password (fallback for auth) |
--password-file |
Read password from a file |
--password-command |
Run a command to get the password |