Crates.io | sendenv |
lib.rs | sendenv |
version | 0.1.0 |
source | src |
created_at | 2024-08-26 16:05:00.967258 |
updated_at | 2024-08-26 16:05:00.967258 |
description | Quickly and securely share `.env` files using 1Password |
homepage | |
repository | https://github.com/juliangra/sendenv |
max_upload_size | |
id | 1352389 |
size | 29,574 |
.env
Sharer 🚀📤 Easily upload and share files as secure notes in 1Password!
Ensure you have Rust and cargo installed on your system. You also need the 1Password CLI installed on your system.
# Install 1Password CLI using your package manager (apt, yum, alpine, brew)
brew install --cask 1password-cli
# Authenticate using the 1Password CLI
eval $(op login)
# Install the application
cargo install sendenv
Thats it! 🙌
sendenv [OPTIONS] --path <PATH_TO_FILE>
# Uploads and creates a link for the `.env` file in the current directory
sendenv
# Uploads and creates a link for file `.env.development` in the cwd
sendenv -p env.development
# Uploads and shares link that can only be displayed once
# and which requires email verification from "example@user.com"
sendenv --email=example@user.com --display-once
-p, --path <PATH_TO_FILE>
: Path to the file you want to share (default: .env
of current working directory)-e, --email <EMAIL>
: Require email to access the shared note-d, --display-once
: Make the link expire after a single useeval $(op signin)
)This tool uses 1Password's secure infrastructure to protect your sensitive data.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Developed by Julian Grande
💡 Need help? Open an issue or contact me via email