Homebrew formula or tap for automated installation on mac and linux?
I ended up in this repo with the expectation of being able to use Commander to automate the fetching of some secure notes for local developer setups of applications.
Unfortunately, it doesn't appear that Commander's installation itself can be automated as it is not in homebrew?
Any chance a custom homebrew tap could be created (or a formula for commander be added to homebrew) so that we can still automate developer setups?
Hello,
You can use pip to install Commander: https://pypi.org/project/keepercommander/ Would that work for your use case?
Also I would like to point out our Secrets Manager product which might better fulfill your use case of fetching secure notes: Docs: https://docs.keeper.io/secrets-manager/secrets-manager/overview GitHub: https://github.com/Keeper-Security/secrets-manager
Secrets Manager is intended to be Keeper's machine-to-machine interface (where Commander is intended to be used by humans). There are several SDKs, plugins, and a CLI available for Keeper Secrets Manager.
If you have any questions about that, feel free to message us at: [email protected]
We're already automating the majority of system deps with brew-bundle, so homebrew formula would have been ideal. Homebrew itself has docs specifically for creating formula that are backed by pip packages. However, I know nothing of the python ecosystem; so while I'm comfortable making formulae (and have in the past), I'm out of my depth when making one wrap a pip package.
Installing through pip might work, but it's an added tool in the chain that wouldn't otherwise be necessary but for keeper alone :/
Wait, so I know this isn't the right spot for this, but as I'm testing the cli...
Is it true that the entire login process goes back and forth to STDOUT, not STDERR?
so keeper get <record> --format password > config/foo.key won't even work, even if we get it installed?
We're looking into Homebrew now. I will update this thread when we have more information to share on that.
For your other question, it is possible to put a password in a file, you will need to setup persistent login so that the script doesn't need to login. See the documentation on how to set this up: https://docs.keeper.io/secrets-manager/commander-cli/using-commander/logging-in#persistent-login-sessions The only caveat here is if your account requires 2FA or SSO login it will require human interaction. That same docs page also has information on using batch mode which might be useful.
To get passwords you can use the command: find-password $RECORD UID
I tested myself (with persistent login setup) like this: keeper find-password VE[...]aw > test_file.txt
@jasonkarns Are you using MacOS or Linux with Homebrew? If Linux which distribution?
Looks like you never got an answer, but I, for one, and my coworkers, would love to be able to use brew install keeper-commander or something like that on our macs.
@ladams-keeper apologies, i missed the notification for this. we're using macos primarily. i'm sure there are some linux on the team, but that setup isn't "supported"
+1 for winget and/or chocolatey too for easier install an updating on Windows
agreed
On Tue, Feb 20, 2024, 4:16 PM Daniel Mills @.***> wrote:
+1 for winget and/or chocolatey too for easier install an updating on Windows
— Reply to this email directly, view it on GitHub https://github.com/Keeper-Security/Commander/issues/784#issuecomment-1955210381, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3JG4YYU76Q4L35AMBGMRZLYUUOCBAVCNFSM52HH4G3KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVGUZDCMBTHAYQ . You are receiving this because you commented.Message ID: @.***>