Skip to content
Search

Credential Store

lastmod 2025-11-25created 2020-03-1113 edits

Mac OSX

Passwords are stored in the OS X Keychain.

Linux/Unix

If running, GNOME Keyring is used, otherwise qtkeychain tries to use KWallet (via D-Bus), if available.

Windows

By default, the Windows Credential Store (aka Windows Credential Locker) is used (requires Windows 7 or newer). Pass -DUSE_CREDENTIAL_STORE=OFF to cmake use disable it. If disabled, QtKeychain uses the Windows API function CryptProtectData to encrypt the password with the user's logon credentials. The encrypted data is then persisted via QSettings.

CredRead/CredWrite/CredDelete API on Windows

Freedesktop

Secret Service supports many DE including GNOME (requires secretstorage)

KDE4 & KDE5

KWallet (requires dbus)

Docker

Use secret. (In a container, it can be checked as files under /run/secrets.)

See also

Favorite site

author Zer0 sitemap