Crates.io | secli |
lib.rs | secli |
version | 1.0.0 |
source | src |
created_at | 2022-06-19 07:30:40.837896 |
updated_at | 2022-06-19 13:21:46.190236 |
description | A simple CLI to store secrets locally and retrieve them via the CLI |
homepage | https://github.com/AnishDe12020/secli#readme |
repository | https://github.com/AnishDe12020/secli |
max_upload_size | |
id | 608851 |
size | 33,509 |
A CLI to store secrets locally
If you use a plugin that displays suggestions for commands (like zsh-autosuggestions
), it poses a security risk as the secret can be exposed as a part of the suggestion. There are however more use cases, like when you are recording a tutorial, you can use secli
instead of exposing a secret.
All secrets are locally stored in your data directory in a sqlite database. The app is completely offline and no data is sent across the internet. It is also open-source so you can have a look at the source code :)
$ cargo install secli
$ secli add secret
? Enter the name/key for this secret: supersecret
? Enter the value for this secret: supersecretvalue
$ secli get supersecret
supersecretvalue
secli add [NAME]
secli get [NAME]
secli list
secli delete [NAME]
secli update [NAME]
secli help [COMMAND]
secli add [NAME]
Add a secret
USAGE
$ secli add [NAME]
ARGS
<name> Name of the secret
DESCRIPTION
Add a secret
secli get [NAME]
Get a secret
USAGE
$ secli get [NAME]
ARGS
<name> Name of the secret
DESCRIPTION
Get a secret
secli list
List all secrets
USAGE
$ secli list
DESCRIPTION
List all secrets
secli delete [NAME]
Delete a secret
USAGE
$ secli delete [NAME]
ARGS
<name> Name of the secret
DESCRIPTION
Delete a secret
secli update [NAME]
Update a secret
USAGE
$ secli update [NAME]
ARGS
<name> Name of the secret
DESCRIPTION
Update a secret
secli help [COMMAND]
Print this message or the help of the given subcommand(s)
USAGE
$ secli help [COMMAND]
ARGS
<command> Command to get help for
DESCRIPTION
Print this message or the help of the given subcommand(s)