﻿# dotenvx armor down

> Dearmor a private key

[dotenvx armor](/docs/cli/armor/introduction/)

```cli
$ dotenvx armor down
```

## Usage

```console
$ dotenvx armor down
```

Use a specific env file.

```console
$ dotenvx armor down -f .env.production
```

Use a token or team.

```console
$ dotenvx armor down --token token --team team
```

Requires the armor build feature. Add it with [dotenvx install --add](/docs/cli/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.

## --file (-f)

Move the matching armored key back to local custody for a particular env file. This example selects the production env file.

```console
$ dotenvx armor down -f .env.production
```

## --team

Name the Armor team for this operation. Replace example-team with the team that owns the project.

```console
$ dotenvx armor down --team example-team
```

## --token

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.

```console
$ dotenvx armor down --token example-token
```

## Options

- [armor down --file](/docs/cli/armor-down-f/)
- [armor down --token](/docs/cli/armor-down-token/)
- [armor down --team](/docs/cli/armor-down-team/)

## Global options

- [--quiet](/docs/cli/quiet/)
- [--verbose](/docs/cli/verbose/)
- [--debug](/docs/cli/debug/)
- [--log-level](/docs/cli/log-level/)
