← docs

dotenv-vault whoami

Written by Mot

Display the current logged in user.

1

Run whoami command

$ npx dotenv-vault whoami
ana.kennedy@dotenv.org

That's it!


More information

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

$ npx dotenv-vault help whoami
Display the current logged in user

USAGE
  $ dotenv-vault whoami [-m ]

FLAGS
  -m, --dotenvMe=  Pass .env.me (DOTENV_ME) credential directly (rather than reading from .env.me file)

DESCRIPTION
  Display the current logged in user

EXAMPLES
  $ dotenv-vault whoami
FLAGS

-m, --dotenvMe

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

$ npx dotenv-vault whoami dotenvMe=me_b1831e…
# use credential set from dotenvMe rather than .env.me file

Next command(s).