GUIDEGuide

Export a dotenv file

movitera secrets pull prints an ENV_BUNDLE dotenv body to stdout or writes it to a file with mode 0600.

Write to a file

bash
$ movitera secrets pull -c myapp-prod -o .env
✓ Wrote myapp-prod to .env.

$ ls -l .env
-rw-------  1 you  staff  126 .env

0600 file

When you use -o, the CLI creates or replaces the file with read and write access only for the current user.

Next