CentOS/python-cicoclient

Use the api key in the workspace

Closed this issue · 1 comments

In ci.centos.org, we provision each workspace with a file called ~/.duffy.key that includes the appropriate API token, cicoclient should grab credentials from here (and perhaps fall back to using the environment if needed).

This would make it harder to accidentally leak api keys in Jenkins shell jobs (which are set -xe by default)

Can we have it try in this order;
cli -> env constant -> ~/.duffy.key -> ~/duffy.key