DotenvxDotenvx
  • ▦ Documentation
  • ❯ CLI Reference
  • ƒ SDK Reference
DotenvxDotenvx
Log In
  • CLI Reference

    • Introduction
  • Commands

    • Run
    • Get
    • Set
    • Encrypt
    • Decrypt
    • Keypair
    • Ls
    • Gitignore
    • Genexample
    • Validate
    • Precommit
    • Prebuild
  • Professional Security

    • Lock ⊡›
    • Native ⌥›
    • Armor ⛨›
CLI Reference›Keypair

Keypair

Print public/private keys for .env file.

$ dotenvx keypair
{"DOTENV_PUBLIC_KEY":"<publicKey>","DOTENV_PRIVATE_KEY":"<privateKey>"}

Options

  • keypair -f
  • keypair -fk
  • keypair DOTENV_PRIVATE_KEY
  • keypair --format json
  • keypair --format shell
  • keypair --format colon
  • keypair --pretty-print
  • keypair --no-armor

Was this page helpful?

Decrypt‹Previous
Ls›Next
Follow us on XFollow us on GitHub