$ git-credential-keepassxc --unlock 20 get password
passw0rd
$ git-credential-keepassxc --unlock 20 get username
root
Use case:
- I'd want to apply "separation of concerns" to a program that I am running. I want to pass one command, and tell to the program "if you run this, you will get the password".
- I'd like to allow users to be able to plug their own credential-solution, and
- "myself" internalizing per-credential-manager solution seems infeasible
Workarounds considered:
... I think for now I'll write a shell script that does that, I guess. I'd prefer wouldn't have to do that, though.