StackStorm / chef-stackstorm

DEPRECATED! Community-maintained Chef Cookbook to deploy StackStorm, IFTTT for Ops
https://supermarket.chef.io/cookbooks/stackstorm
Apache License 2.0
16 stars 10 forks source link

Generate ~/.st2/config for CLI auth #41

Open arm4b opened 7 years ago

arm4b commented 7 years ago

Low priority "nice to have" feature

Generate CLI Configuration File ~/.st2/config which is used as credentials source to authenticate current OS user, allowing to run st2 commands without explicitly specifying username/password/token/key.

Bash example: https://github.com/StackStorm/st2-packages/blob/0e599a61f113bd9b77ad525738fcc33fd0748fcb/scripts/st2bootstrap-deb.sh#L230-L233

Optional setting, since not everyone needs to keep username/password pair unencrypted.