-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command-line interface #328
Comments
Although a CLI is some extra work, there are a lot of advanced feature requests among the issues. Some of those features would be easier to maintain as advanced features (extra CLI flags) in a CLI tool -- for example requiring biometric auth. That way, no custom UI needs to be built for them. That would be one benefit with a CLI tool. |
@francoisdtm coming back to this one – can you describe what kind of thing you'd be interested in? Most of the relevant functionality is already exposed via the ssh-agent interface. You could plausibly expose API to create new keys, but depending on what you mean from "add keys from," that may not be possible with or without a CLI, since it's not possible to import keys. |
An API to create a new key is exactly what I'm looking for. My use case is automating the provisioning of a new machine. I'd like to generate a new key in Secretive, then upload the public key to the git server (Bitbucket in my case). So I want an API that can generate the key and give me back info about the public key (file path, the key content, etc). |
A use case I've just come across is programatically getting the file path of the generated Public Key files. I'd like to be able to get a list of active keys from Secretive (name, fingerprint, public key, public key file path) so that I can add the public key file path to my SSH config or symlink to the public key file path from See 0xmachos/dotfiles@18f4841 for a little bit more detail. |
A command line interface would benefit #565 for integration purposes and also automation (if the key does not require authorization) |
issue 565 seems relevant |
It would be nice to add a simple CLI so that we can add keys from bash scripts and Ansible playbooks.
The text was updated successfully, but these errors were encountered: