This command encrypts every environment variable in specified env files or directories.
envman encrypt .env.db production --key=production-env-keyencrypt [options] [--] [<targets>]...| Argument | Description | Default |
|---|---|---|
targets |
Files or directories with .env.* files to be encrypted |
| Option | Description | Default |
|---|---|---|
--key |
Key file for encryption |
- Environment variables that are commented out will not be encrypted.