DotenvxDotenvx
  • ▦ Documentation
  • ❯ CLI Reference
  • ƒ SDK Reference
DotenvxDotenvx
Log InGet Started
  • CLI Reference

    • Introduction
  • Commands

    • Run
    • Get
    • Set
    • Encrypt
    • Decrypt
    • Rotate
    • Keypair
  • Advanced

    • Armor ⛨›
    • Ext
  • Hidden

    • Doctor
CLI Reference›Keypair

Keypair

Print public/private keys for .env file.

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

Advanced

  • 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?

Rotate‹Previous
Armor ⛨›Next
Follow us on XFollow us on GitHub