Crates.io | envn |
lib.rs | envn |
version | 0.5.0 |
source | src |
created_at | 2023-10-25 08:51:03.777963 |
updated_at | 2023-12-20 07:47:49.621197 |
description | The Premium Secrets and .env Manager CLI |
homepage | |
repository | https://github.com/newtoallofthis123/envn |
max_upload_size | |
id | 1013170 |
size | 123,990 |
EnvN is the secret manager for busy developers. It is a very simple to use tool that allows you to store your secrets encrypted in a simple file that you can theoretically commit to your repository.
EnvN is designed with simplicity in mind. It is a single binary that you can download and use a package manager to install. It is also designed to be as user friendly as possible for people who are not familiar with the command line.
EnvN can be used as per as your convenience. You can use it as a TUI or a fully compatible CLI with piping and all. It is also designed to be as portable as possible.
Written in rust, EnvN is quite fast and efficient. It is also designed to be as secure as possible. It uses the AES-256 encryption algorithm to encrypt your secrets and store them all in a single SQLite database file.
You don't need to have SQLite installed on your system. EnvN comes with a pre-compiled SQLite library.
The recommended way to install Envn is to use the cargo package manager. I am working on a more portable way to install EnvN. Please open an issue if you have any suggestions.
cargo install envn
The first time you open EnvN, you will be asked to enter a password. This password will be used to encrypt your secrets. You will be asked to enter this password every time you open EnvN.
You can later reset this, but you will lose all your secrets. So be careful.
get
| show
- Get a secretadd
- Set a secretsave
- Save the secrets to a fileappend
- Append a secret to a fileedit
- Edit a secretload
- Load secrets from a fileall
- Show all secretsdelete
- Remove a secretbackup
- Backup your secrets to a tar filerestore
- Restore your secrets from a tar filereset
- Reset stuffFor more information, run envn help
.
I tried to make the CLI interface as user friendly as possible. You can use the CLI interface in two ways:
Interactive Mode - This is the default mode. You can use the arrow keys to navigate through the options and press enter to select an option. You can also use the tab
key to switch between the options and the space
key to select an option.
Command Mode - You can use pass in arguments to the CLI to directly execute a command. For example, envn set
will directly execute the set
command. You can also use the --help
flag to get help for a command. For example, envn set --help
will show you the help for the set
command.
You can contribute to EnvN by:
EnvN is licensed under the MIT License. See LICENSE for more information.