CLI

dotenv-vault versions

List version history for your project in dotenv-vault.

Usage

1. Run versions command

$ npx dotenv-vault versions

remote:   Listing versions... done
Ver    Change                                                                By                           When
────── ───────────────────────────────────────────────────────────────────── ────────────────────── ────────────────────
v35    AIRBRAKE_API_KEY,STRIPE_API_KEY,LOCKBOX_MASTER_KEY,SECRET_S3          [email protected] 2022-05-04T19:25:56Z
v33    SECRET_S3                                                             [email protected] 2022-03-14T07:35:42Z
v31    STRIPE_API_KEY                                                        [email protected] 2022-03-14T07:34:05Z
v30    S3_KEY                                                                [email protected] 2022-03-14T07:33:51Z
v29    AIRBRAKE_API_KEY                                                      [email protected] 2022-03-14T07:33:13Z
v28    S3_KEY                                                                [email protected] 2022-03-14T07:32:10Z
v27    AIRBRAKE_PROJECT_ID,AIRBRAKE_API_KEY,STRIPE_API_KEY,GIVEBRIGHTER_HOST [email protected] 2022-03-14T07:32:09Z
v26    STRIPE_API_KEY                                                        [email protected] 2022-03-14T07:30:31Z
...
Pull a version with npx dotenv-vault pull development@v35

That's it!


Command Details

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

$ npx dotenv-vault help versions
List version history

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

ARGUMENTS
  ENVIRONMENT  Set environment to check versions against. Defaults to development

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 version history

EXAMPLES
  $ dotenv-vault versions
ARGUMENTS

[ENVIRONMENT]

Set environment to check versions against. Defaults to development

$ npx dotenv-vault versions production
FLAGS

-m, --dotenvMe

Pass .env.me (DOTENV_ME) credential directly (rather than reading from .env.me file)

$ npx dotenv-vault versions --dotenvMe=me_b1831e…

-y, --yes

Automatic yes to prompts. Assume yes to all prompts and run non-interactively.

$ npx dotenv-vault versions -y