token authentication for api and cli in pulp
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
On github, or gitlab, it is possible to have api or cli access by token . I am wondering, is it possible for Pulp? or could add it as new feature? So instead of username and password, we can use token in pulp-cli and httpie?
To use it, maybe something like:
- In http request:
'Authorization': "Token " + pulpuer_token - In pulp-cli :
--tokenparameter or in a variable in.config/pulp/cli.toml
For token generation:
- Pulp admin can create a token for a robot account for some automatic cron jobs
- A user can also create his token by cli or by web interface
We are very interested to this feature!
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the authentication entry points for the HTTP API and pulp-cli, including the proposed .config/pulp/cli.toml setting. Clarify how tokens would be generated for users and robot accounts and how web or CLI issuance fits the scope. Done would mean an agreed design covering token use in httpie and pulp-cli.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, authentication, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100