Quick Start
Let's guide you through your first steps with LocalKeys.
Please start after installation!
Step 1: Create Vault
When you first launch LocalKeys, you'll be prompted to create a vault.
Set a secure password and remember it well.
Your master password cannot be recovered. Store it in a safe place.
If prompted to install CLI, it's recommended to install it. This will allow you to fully use LocalKeys' features.
Step 2: Add Project
A project is a group of secrets stored in your vault.
We recommend creating separate projects for each development project.
- Click Add Project on the main screen
- Enter project name
- Click Add Project button
Step 3: Add Secrets
A project is a group of secrets stored in your vault.
We recommend creating separate projects for each development project.
- Click on the project you just created
- Click Add Secret
- Add secrets one by one that were previously stored in .env
Step 4: Delete Existing .env
Once you've moved all secrets to LocalKeys, delete the existing .env file from your development environment.
- Open editor or IDE like VSCode
- Delete .env stored on local machine
Step 5: Run Development Environment
Now you're all set and ready to use.
This example runs a NodeJS project with NPM. You can modify it to run however you want.
- Open project in an editor or IDE like VSCode and open terminal
- Example:
localkeys run --project=myapp -- npm start - From now on, you can use the above command instead of npm start.