Skip to main content
You’ve been invited to an Enkryptify workspace by your team lead or admin. This guide will get you up and running so you can start developing with secrets managed through Enkryptify.

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:
  1. The CLI for injecting secrets into your app when running locally
  2. The Dashboard for viewing secrets or setting personal overrides (if your admin has enabled this)

CLI Setup

1. Install

Verify the installation:
For more detailed installation instructions (Debian, RedHat, Alpine, Arch), see the Install page.

2. Log in

This opens your browser to authenticate via OAuth. Your credentials are stored securely in your system’s keyring. Navigate to your project’s repository and run:
This walks you through selecting your workspace, project and environment. The configuration is saved locally and tied to the current directory.

4. Run your app

That’s it. Enkryptify fetches your secrets and injects them as environment variables into your process.

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.

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.)

1

Open Run Configuration

Go to Run > Edit Configurations… (or click the run configuration dropdown in the toolbar).
2

Modify the startup command

Depending on your project type, update the run configuration to use 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 --
The simplest approach for any language:
  1. Go to Run > Edit Configurations…
  2. Instead of modifying the existing configuration, create a new Shell Script run configuration
  3. Set the script to:
For example:

Visual Studio

1

Use a launch profile with ek run

Edit your launchSettings.json (found in Properties/launchSettings.json):
Then select the Enkryptify profile from the launch dropdown.

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:
  1. Log in at app.enkryptify.com
  2. Select your workspace and project
  3. Navigate to the environment you’re working in
  4. 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, pointing DATABASE_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
How to set a personal override:
  1. Open the environment in the dashboard
  2. Find the secret you want to override
  3. Click the second input field for that secret (in that environment). The input field is marked with “Personal”.
  4. Enter your personal value and save
Your personal value will be used whenever you run 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

Need Help?

  • Check the full CLI Commands reference
  • Ask your workspace admin for access or permission changes
  • Visit enkryptify.com for more information