Getting Started
Quickstart
Store and retrieve your first API key in under 2 minutes.
Quickstart
Prerequisites
- Install the CLI: see installation page for npm, pnpm, yarn, or bun
- Authenticate:
storemyapi login
1. Create a project
Run this inside your project folder. It prompts for a name and description, creates the project in the cloud, and writes a .storemyapi.json file that links this folder to that project.
storemyapi initAdd .storemyapi.json to your .gitignore.
2. Push your existing .env to the cloud
If you already have a .env file, upload all of it in one command:
storemyapi pushTo push a single key:
storemyapi push STRIPE_SECRET_KEY3. Pull keys on another machine
On a fresh machine or after cloning the repo, link the folder to the same project and pull all keys down:
storemyapi link # choose the project from an interactive dropdown
storemyapi pull # writes keys into .env4. Run your app with cloud keys injected
Instead of maintaining a local .env at all, run your dev server directly with cloud keys injected into the process. Nothing written to disk:
storemyapi env run -- npm run devWhat's next?
- CLI Reference: Keys: manage individual keys
- CLI Reference: Projects: init, link, and list projects
- CLI Reference: Env: push, pull, and run with injected keys
- Team Workflows: invite teammates and share access