🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

vellin

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vellin

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

latest
Source
npmnpm
Version
0.1.114
Version published
Weekly downloads
20
185.71%
Maintainers
1
Weekly downloads
 
Created
Source

Vell

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

Features

  • Vercel deployable (WIP) and self hostable.
  • Persistent and encrypted Redis for secret store.
  • Inject secrets with APIs (WIP).
  • Assign secrets to projects.
  • 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

  • To set or get a secret
npx vellin

Follow the prompts.

  • To export a secret to .env
npx vellin secretName

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

Node.js

  • Set a secret
import Vell from "vellin";
const vell = new Vell();
const secret = await vell.set("secretName", "secretValue");
  • 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

Keywords

secrets

FAQs

Package last updated on 09 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts