Skip to content

Password

rhoopr edited this page May 18, 2026 · 3 revisions

password

Manage stored credentials in the OS keyring or encrypted file store.

Usage

# Store a password (prompts interactively)
kei password set

# Remove a stored password
kei password clear

# Show which credential backend is active
kei password backend

The account comes from [auth].username in the config file, or from ICLOUD_USERNAME for automation.

Subcommands

Subcommand Description
set Store a password in the credential store. Prompts for input.
clear Remove the stored password for the configured username.
backend Print the active backend: keyring, encrypted-file, or none.

Backends

On desktop platforms, kei uses the OS keyring: macOS Keychain, Linux Secret Service, or 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 and alternative password sources.

Related

Commands

Getting Started

Features

Clone this wiki locally