[FEATURE] Environment variable to simplify --token
global flag
#411
Labels
feature request
New feature or request
--token
global flag
#411
Description of the problem being solved
When using the Slack CLI in CI/CD pipelines today, an auth token must be used (instead of the traditional
slack login
method). This requires the usage of the--token
global flag in every single command (commands which may very well appear in logs, etc.)Instead, it would be much more secure (and also convenient) to allow an environment variable to be used as a fallback for the global flag. This is already the case for
--config-dir
, which can be specified viaSLACK_CONFIG_DIR
instead (see documentation here).It would be wonderful if we could also specify an environment variable like
SLACK_AUTH_TOKEN
, instead of specifying--token
for every command.Alternative solutions
Being able to log in with a token (and not having to keep repeating it afterwards).
However, an environment variable would be even better (and probably easier to implement as well).
The text was updated successfully, but these errors were encountered: