Skip to content

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

@kenperkins

Description

@kenperkins

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions