Code Monkey home page Code Monkey logo

snip-cli's Introduction

Sniptt Logo

๐Ÿ” The secret manager that developers love!

Please note that this project is under active development. APIs might change before version 1 is released.

Table of Contents

Introduction

Vault example

Sniptt is a secret manager for developers.

The main purpose of Sniptt is to simplify and improve the experience of sharing secrets and credentials between developers and machines.

You can finally say goodbye to 1Password, LastPass, and Dashlane ๐Ÿ‘‹.

Install

Homebrew

The recommended way to install snip on macOS is via Homebrew.

$ brew install sniptt-official/snip/snip

npm

Alternatively, you can also install snip via npm.

npm install sniptt -g

Manual

For manual installation instructions on macOS and Linux, please refer to the dedicated install docs.

Features

  • ๐Ÿ” End-to-end encryption: Secrets are encrypted using OpenPGP, the most widely used messaging encryption standard.
  • ๐Ÿ‘พ For developers, by developers: Protect and share secrets directly from your terminal.
  • ๐Ÿ”— Immutable and cryptographically verifiable (coming soon): Stay comforted knowing that every secret has a complete and verifiable history of changes over time. Powered by Amazon QLDB.

Basic Usage

Setup

Create a new account or configure a new device with an existing account.

$ snip configure

For advanced usage, type $ snip configure -h.

Add secrets

Add end-to-end encrypted secrets to your personal vault.

# Add simple key/value.
$ snip add DB_PASSWORD AYYGR3h64tHp9Bne

# Add simple key/value (you will be prompted using hidden password input)
$ snip add DB_PASSWORD

# Add file.
$ snip add --file .env.prod

For advanced usage, type $ snip add -h.

Read secrets

Read end-to-end encrypted secrets from your personal vault.

# Read simple value.
$ snip get DB_PASSWORD

# Read a file.
$ snip get .env.prod

# Download a file.
$ snip get .env.prod -o .env.prod

# Get started with automation.
$ snip get .env.prod -q --json | jq -r .SecretContent | base64 -d

For advanced usage, type $ snip get -h.

Vaults

Vaults allow you to store and share secrets with others.

# Create a new vault.
$ snip vault create creds:aws

# Add a member to a vault.
$ snip vault add-member creds:aws -e [email protected]

# Add a secret to a vault.
$ snip add -f sandbox.csv -v creds:aws

# Automate workflows.
$ snip vault ls -q --json | jq -r ".[].VaultId" | pbcopy

For advanced usage, type $ snip vault -h.

Sharing

Share an end-to-end encrypted secret via a one-time URL.

# Create one-time secret.
$ snip share AYYGR3h64tHp9Bne

# Create one-time secret from a file.
$ snip share --file .env.local

For advanced usage, type $ snip share -h.

Usage Limits

Sniptt is free for personal use with the following limits:

  • Up to 100 secrets per month
  • Up to 100 URL shares per month
  • 1 additional Vault (up to 3 members)

To increase limits and access more features, please email us at [email protected].

FAQ

Who can access my secrets?

You and only you can access your secrets stored privately with Sniptt. The Master Password used to encrypt your private key never leaves your device, ensuring nobody, not even Sniptt has access to your encrypted data. You can even verify the code to make sure! ๐Ÿ•ต๏ธโ€โ™‚๏ธ

If you wish to share your secrets with others, then you will need to create a shared Vault or use the one-time-secret functionality to do so.

Why does it sometimes take longer to fulfill a request?

Our platform is built on AWS, using 100% serverless architecture. We rely heavily on Lambda, so you may occasionally experience what's called a "cold start". Another reason your requests might be taking slightly longer is if you're not in Europe. We're currently only deployed in eu-west-1 (Ireland), however we plan to deploy in 2 additional regions soon.

License

This project is under the MIT license.

snip-cli's People

Contributors

rogerthebest avatar slavovojacek avatar lomigmegard avatar samthebest avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.