Using environment variables with the Slack CLI | Slack Developer Tools
Storing and using environment variables in an application allows for certain variables to be maintained outside of the code of the application. You can use environment variables from within Slack functions, triggers, and manifests.