sn-cli currently requires a secret service (e.g., GNOME Keyring, KWallet) to store credentials. This makes it difficult or impossible to use on headless servers where no desktop environment or D-Bus secret service is available.
Attempting to run sn-cli on a headless Linux server results in errors related to the missing keyring/secret service backend.
Suggested Solutions
- Config file with encryption
- Plaintext option with warning: Provide a --no-keyring flag that stores credentials in a local file (with appropriate file permissions), displaying a security warning