CLI

dotenv-vault keys

List your decryption keys for your .env.vault encrypted contents.

Usage

List all your keys.

$ npx dotenv-vault keys

List a single environment key. This is useful to more easily copy and paste the DOTENV_KEY.

$ npx dotenv-vault keys production

Command Details

For more information on the keys command, run dotenv-vault help keys.

$ npx dotenv-vault help keys
List .env.vault decryption keys

USAGE
  $ dotenv-vault keys [ENVIRONMENT] [-m ] [-y]

ARGUMENTS
  ENVIRONMENT  Set environment to fetch key(s) from. Defaults to all environments

FLAGS
  -m, --dotenvMe=  Pass .env.me (DOTENV_ME) credential directly (rather than reading from .env.me file)
  -y, --yes               Automatic yes to prompts. Assume yes to all prompts and run non-interactively.

DESCRIPTION
  List .env.vault decryption keys

EXAMPLES
  $ dotenv-vault keys