ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

Add config file option for galaxy api token (ala, '--api-token') #249

Closed alikins closed 5 years ago

alikins commented 5 years ago

Feature Request

Add config file option for galaxy api token (ala, '--api-token')

Use Case

What problem does this feature solve? Please describe.

Avoid having to provide the galaxy api token via the cli --api-token for publish.

Proposed Solution

Describe the solution you'd like Add 'galaxy_api_token'[1] to config options

Alternatives

Describe alternatives you've considered

Different content item name: 'galaxy_api_key', 'api_key', 'api_token', etc cli option is:

  --api-key=PUBLISH_API_KEY
                        The Galaxy API key which can be found at
                        https://galaxy.ansible.com/me/preferences

The web ui says:

API Key

Implementation

Teachability, Documentation, Adoption, Migration Strategy If you can, explain the user story, and possibly provide a version of the docs. Maybe a screenshot or mockup of the design?