Using environment variables with the Slack CLI | Slack Developer Docs
You can store and use environment variables with your Slack app by using a collection of Slack CLI commands and features. You can even access some pre-set environment variables!