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
token authentication for api and cli in pulp #5035
Comments
The CLI would need support for this, and I think we have a ticket filed here for that. Pulp itself could follow this guide and be setup today just with settings. Thanks @ggainey for the original link to the guide. If ^ is right then Pulp itself doesn't need code changes. So this issue could either become a docs issue or closed. |
Great! I can set up token authentication with the settings! As the guide says, I just add the needed part in I test with Yesterday I read the guild you mentioned , but with no experience of Django, I was not ready to create a app and view things :) Thanks very much! |
yes, please transfer it to a doc issue. It would be helpful to other users who are looking for this usage of token |
When you write the docs, please have a look at the generated api_spec ( |
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:
'Authorization': "Token " + pulpuer_token
--token
parameter or in a variable in.config/pulp/cli.toml
For token generation:
We are very interested to this feature!
Thanks!
The text was updated successfully, but these errors were encountered: