infisical export [options]

Description

Export environment variables from the platform into a file format.

Subcommands & flags

Use this command to export environment variables from the platform into a raw file formats

$ infisical export

# Export variables to a .env file
infisical export > .env

# Export variables to a .env file (with export keyword)
infisical export --format=dotenv-export > .env

# Export variables to a CSV file
infisical export --format=csv > secrets.csv

# Export variables to a JSON file
infisical export --format=json > secrets.json

# Export variables to a YAML file
infisical export --format=yaml > secrets.yaml

# Render secrets using a custom template file
infisical export --template=<path to template>

Environment variables

flags