You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
This is the API key used when the Galaxy API needs to authenticate
a request. For example, for the POST request made when using the
'publish' sub command to upload collection artifacts.
'api_key' here is equilivent to the cli '--api-key'
The default value is unset or None.
The API key can be found at https://galaxy.ansible.com/me/preferences
Remove api_key arg to action publish.publish()
Add api_key to config 'server' dict by default
Also update action.publish unit tests to use requests_mock
Add info about config 'api_key' item to README
Fixes: #249
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
The web ui says:
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?
The text was updated successfully, but these errors were encountered: