Dearmor a private key
$ dotenvx armor down
$ dotenvx armor down
Use a specific env file.
$ dotenvx armor down -f .env.production
Use a token or team.
$ dotenvx armor down --token token --team team
Requires the armor build feature. Add it with dotenvx install --add.
The examples below use the command syntax from Dotenvx 2.38.2 help. Core 3.0.0-rc2 requires the Armor feature to display subcommand help.
Move the matching armored key back to local custody for a particular env file. This example selects the production env file.
$ dotenvx armor down -f .env.production
Name the Armor team for this operation. Replace example-team with the team that owns the project.
$ dotenvx armor down --team example-team
Supply an access token for this request. The example uses a dummy token. Treat a real token as a credential and keep it out of shell history and logs.
$ dotenvx armor down --token example-token