Skip to content

losparviero/vell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vell

Manage your secrets and use them everywhere! Replace your .env files.

Features

  1. Vercel deployable (WIP) and self hostable.
  2. Persistent and encrypted Redis for secret store.
  3. Inject secrets with APIs (WIP).
  4. Assign secrets to projects.
  5. Ditch tedious .env setup.

Why

A lot of secret managing solutions exist already. The problem is many are either proprietary, work with certain cloud providers, work in private networks, or are complex to use and setup.

I was looking for a secrets manager that was easy to use, could store secrets in serverless data stores, and could fetch them fast with APIs. Extending this facility with Vercel, all it does is an API call to fetch, store or use secrets within your apps.

Replace your .env files.

All secrets are encrypted by default in both storage and transport (TLS).

Usage

For self-hosted version setup a Redis database at Upstash.

ENV reference
DB_URL - Upstash Redis database URL

CLI

  1. To set or get a secret
npx vellin

Follow the prompts.

  1. To export a secret to .env
npx vellin secretName

This will export secret to the .env in the working directory.

Node.js

  1. Set a secret
import Vell from "vellin";
const vell = new Vell();
const secret = await vell.set("secretName", "secretValue");
  1. Get a secret
import Vell from "vellin";
const vell = new Vell();
const secret = await vell.get("secretName");
console.log(secret);

Install

npm i -g vellin

API

Coming soon.

License

AGPL-3.0 ©️ Zubin

About

Manage your secrets and use them everywhere! Replace your .env files.

Topics

Resources

License

Stars

Watchers

Forks