exoscale / cs

A simple, yet powerful CloudStack API client for python and the command-line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment variables do not work

jeffallen opened this issue · comments

If you try to use only env vars to config it, you get:

Config file not found. Tried /Users/marina/.cloudstack.ini, /Users/marina/entuu
ra/cloudstack.ini

If you put an empty .cloudstack.ini there to shut it up, you get:

Error: region 'cloudstack' not in config

Hi jeff, thanks for the heads up. It's actually a misspelling in the name of one environment variable on the blog post. You should set CLOUDSTACK_SECRET instead of CLOUDSTACK_SECRET_KEY. The README on github is correct and we'll fix the blog post.