Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable specifying which credential set to use for a specific call #13

Open
kenperkins opened this issue Mar 20, 2014 · 1 comment
Open

Comments

@kenperkins
Copy link
Member

For example, I might have three different compute creds in my pkgcloud-cli.json file, but the helpers are hard coded to always use [0]:

https://github.com/pkgcloud/pkgcloud-cli/blob/master/helpers.js#L41-L49

We should make this accessible from the command line. Perhaps make them keys instead of arrays, and provide the optional keyname from the commandline (defaults to first perhaps)

This would allow you to have support for dozens of providers/regions.

@rosskukulinski
Copy link
Contributor

great idea - I was talking with rdodev about that a few weeks ago. Its a breaking change, but I think the user base is small enough that we wouldn't piss too many people off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants