-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
redhat_subscription: Add support for Red Hat API token #5725
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Please add a changelog fragment. Thanks.
CC @ptoscano |
This comment was marked as outdated.
This comment was marked as outdated.
25f8d17
to
4e6574d
Compare
In principle, this addition sounds OK; I have a couple of notes:
Out of curiosity: how were you able to test this? I know that the Keycloak registration does not work OOTB with subscription.rhsm.redhat.com (see https://bugzilla.redhat.com/show_bug.cgi?id=2115893), and it is not enabled in Satellite. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This PR currently does multiple modifications in unrelated files that must be undone. Also please note the comments by the bot. |
This comment was marked as outdated.
This comment was marked as outdated.
It is tested with RHEL8 agains Customer Portal Subscription Management. I am not sure if Satellite support token yet. |
fix mixed up fix version
Looks good from my POV. If @ptoscano is happy I'll merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5768 🤖 @patchback |
Add support for Red Hat API token fix mixed up fix version (cherry picked from commit 4dc897d)
SUMMARY
Add support using Red Hat API token
ISSUE TYPE
COMPONENT NAME
Updated redhat_subscription.py to allow using Red Hat API token.
ADDITIONAL INFORMATION
Added support for using Red Hat API token in addition to activationkey/org ID or username/password combination.
Following this to generate an access token from the offline token.
https://access.redhat.com/articles/3626371