Skip to main content

Sops-Nix Env Files

  1. Create the plaintext env file to be used

    Do not commit any plaintext env files into version control

  2. Run the command to encrypt the file: sops --input-type binary --output-type binary -e [file] 
  3. To edit the file, run the following code: sops --input-type binary --output-type binary [file]