Skip to main content

ev pull

Fetches the encrypted secret payload from Enver, decrypts it locally using the provided lock key, and merges the variables into your .env file.

Usage

Arguments

Options

Examples

Output

Merge behaviour

ev pull merges secrets into your existing .env — it does not overwrite the entire file. Remote variables take precedence over existing local values for the same key.

How decryption works

  1. Downloads the ciphertext and 5 key shares from the server
  2. Reconstructs the master key using 3 of the 5 Shamir shares
  3. Derives the AES key from your lock key using PBKDF2
  4. Decrypts the ciphertext with AES-256-GCM
  5. Writes the plaintext variables into .env
Decryption is entirely local. The server never sees your lock key or plaintext secrets at any point.

Required token scope

Your API token must have at least read:secrets scope.