Windows Credentials Store for KeePass pw-stdin?

Discussion in 'Windows 10' started by Espionage724, Dec 18, 2024.

  1. Espionage724

    Espionage724 MDL Expert

    Nov 7, 2009
    1,077
    397
    60
    On Linux I could add a KeePass database secret to the keyring (GNOME or KDE Wallet) via secret-tool, and then pass that secret through command-line flag to load the database.

    Add password secret/key to keyring:

    Code:
    secret-tool store --label='KeePass' 'keepass' 'default'
    Open KeePass database with the password stored in that "keepass" secret:

    Code:
    secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'
    Is there a way to do something like that on Windows? I want to create a password under a "keepass" name, and then call that password up with a command as-is; then presumably KeePassXC's pw-stdin option would see it (haven't figured out the syntax quite yet)