What is Enkryptify?
Enkryptify is a secrets manager that securely stores and injects environment variables (API keys, database URLs, tokens, etc.) into your applications. Instead of sharing.env files over Slack or email, your team manages secrets centrally and you pull them automatically via the CLI.
As a developer, you mainly need two things:
- The CLI — to inject secrets into your app when running locally
- The Dashboard — to view secrets or set personal overrides (if your admin has enabled this)
CLI Setup
1. Install
- macOS
- Windows
- Linux
2. Log in
3. Link your project
Navigate to your project’s repository and run:4. Run your app
Usage Examples by Language
Below are examples for running your application with secrets injected. Replace the command after-- with whatever you normally use to start your app.
- Node.js
- Python
- Go
- Java
- Ruby
- PHP
- Rust
- .NET
Overriding the environment
If you need to run against a different environment than your default (e.g.staging instead of development), use the -e flag:
IDE Integration
If you don’t run your application from the terminal (e.g. you use a built-in run button in your IDE), you can configure your IDE to use the Enkryptify CLI.JetBrains (IntelliJ, WebStorm, PyCharm, GoLand, Rider, etc.)
Open Run Configuration
Go to Run > Edit Configurations… (or click the run configuration dropdown in the toolbar).
Modify the startup command
Depending on your project type, update the run configuration to use For example:
ek run:For interpreted languages (Node.js, Python, Go, etc.), set the command to:- In the Before launch section, click + and select Run External Tool
- Or alternatively, change the script/command field to wrap your existing command with
ek run --
- Go to Run > Edit Configurations…
- Instead of modifying the existing configuration, create a new Shell Script run configuration
- Set the script to:
Visual Studio
VS Code
If you use VS Code’s built-in terminal,ek run works out of the box. For the launch configuration, add to .vscode/launch.json:
Using the Dashboard
Your admin may have given you access to view secrets and/or set personal overrides in the Enkryptify Dashboard.Viewing Secrets
If your workspace admin has enabled secret viewing for your role, you can browse secrets in the dashboard:- Log in at app.enkryptify.com
- Select your workspace and project
- Navigate to the environment you’re working in
- You’ll see the list of secrets
If you can’t see secret values, your admin has restricted this. Reach out to them if you need access.
Personal Overrides
Personal overrides let you replace a shared secret with your own value, for example, pointingDATABASE_URL to your local database instead of the shared development database.
When would you use this?
- You’re running a local database and need a different connection string
- You need to use your own API key for a third-party service during development
- You want to test with different configuration values without affecting the rest of the team
- Dashboard
- CLI
- Open the environment in the dashboard
- Find the secret you want to override
- Click the second input field for that secret (in that environment). The input field is marked with “Personal”.
- Enter your personal value and save
ek run, while everyone else on the team continues to get the shared value.Personal overrides are only available if your workspace admin has enabled this feature. If you don’t see the option, ask your admin.
Quick Reference
| Task | Command |
|---|---|
| Install CLI (macOS) | brew install enkryptify/enkryptify/enkryptify |
| Log in | ek login |
| Link project | ek setup |
| Run with secrets | ek run -- <command> |
| Run against different env | ek run -e staging -- <command> |
| List secrets | ek list |
| Set personal override | ek update SECRET_NAME --ispersonal |
Need Help?
- Check the full CLI Commands reference
- Ask your workspace admin for access or permission changes
- Visit enkryptify.com for more information