After configuring your ENVs through the Portunus UI, there are two main ways to interact with them:
.env
file, you can automatically connect with Portunusprint-env
is configured to process the PORTUNUS_JWT
key to pull in all associated variables.env
with the format: PORTUNUS_JWT=[jwt]/[team id]/[project name]/[stage name]
print-env
will print out the ENV associated with the team+project+stage provided aboveenv $(print-env) node some-command
https://cli.mindswire.com/env?team=[team id]&project=[project name]&stage=[stage name]
portunus-jwt
headerresponse.vars
field