keydrop-cli
v1.1.4
Published
Turn your .env into one deployable key - CLI tool
Downloads
1,251
Maintainers
Readme
keydrop-cli
CLI tool for KeyDrop — turn your
.envinto one deployable key.
Install
npm install -g keydrop-cliOr use without installing:
npx keydrop-cli pushUsage
Run inside any project folder that has a .env file:
keydrop pushBefore
MONGO_URI=mongodb://localhost
JWT_SECRET=abc123
STRIPE_KEY=sk_test_xxx
OPENAI_KEY=sk-xxxxAfter
KEYDROP_KEY=proj_x82js8shWhat It Does
- Reads your
.envfile - Parses all secrets into JSON
- Sends them securely to the KeyDrop API
- Receives a unique project key
- Rewrites your
.envwith onlyKEYDROP_KEY
Commands
| Command | Description |
|---------|-------------|
| keydrop push | Upload .env and get a KEYDROP_KEY |
Environment Variables
| Variable | Description |
|----------|-------------|
| KEYDROP_API_URL | Override the API URL for self hosting |
After Pushing
Add one line to your app:
import "keydrop/init";Then deploy with only KEYDROP_KEY in your environment.
License
MIT
