#passwords #1password #sharing #security #cli

app share-1password

Securely share notes with others using 1Password. Perfect for developers sending passwords to clients.

3 stable releases

new 1.1.3 Sep 18, 2024
1.0.2 Sep 18, 2024

#91 in Authentication

Download history 194/week @ 2024-09-12

194 downloads per month

MIT license

11KB
151 lines

🔐 Share 1Password

What is it?

Securely share notes with others using 1Password. Perfect for developers sending passwords to clients.

Installation

Prerequisites

Ensure you have 1Password installed on your machine.

Next, in the 1Password application, navigate to Preferences > Developer. Enable the Integrate with 1Password CLI option.

Also ensure you have the 1Password CLI installed. Refer to the installation guide for more information.

Using Cargo

Ensure you have cargo installed. Then, run the following command:

# Install the application
cargo install share-1password

Usage

Ensure you have share-1password installed. Then, run the following commands:

# Navigate to the directory with the note you want to share, e.g. a `.env` file
cd <directory>

# Pipe the file into the application with default settings
cat <file> | share-1password

# Use `--help` to see all available options
share-1password --help

# Use `--vault` to specify the vault to store the note in
cat <file> | share-1password --vault <vault-name>

# Use `--emails` to specify the emails to share the note with. Default to anyone with the link.
cat <file> | share-1password --emails <email1> <email2> <email3>

✂️ Note that share-1password automatically copies the link of the shared note to your clipboard.

You can now share this link securely with others, for instance using email, Slack, or any other messaging platform.

Dependencies

~4–19MB
~228K SLoC