porter env
Prerequisites
- You’ve logged in to the Porter CLI after running porter auth login
- You’re connected to the correct project by running porter config set-project
- You’re connected to the correct cluster by running porter config set-cluster
porter env pull
The porter env
command allows users to pull environment variables from an existing environment group or application.
To pull variables from an existing app, you can specify the -a
flag:
To pull variables from an existing environment group, you can specify the -g
flag:
porter env set
The porter env set
command allows users to set environment variables and secrets for an existing environment group or application.
To set variables for an existing app, you can specify the -a
flag:
To set variables for an existing environment group, you can specify the -g
flag:
porter env unset
The porter env unset
command allows users to unset environment variables and secrets for an existing environment group or application.
To unset variables for an existing app, you can specify the -a
flag:
To unset variables for an existing environment group, you can specify the -g
flag: