feat(hyperv): implement kerberos session auth - #431
Merged
Conversation
jlocash
force-pushed
the
jlocash/wire-kerberos-config
branch
from
August 4, 2026 15:00
f0b8a96 to
a77ccbb
Compare
jlocash
force-pushed
the
jlocash/wire-kerberos-config
branch
from
August 4, 2026 17:37
54fd21a to
18fea0c
Compare
- Added a copr_build job triggered on pull requests, targeting centos-stream-10 Signed-off-by: Joshua Locash <jlocash@redhat.com>
jlocash
force-pushed
the
jlocash/wire-kerberos-config
branch
2 times, most recently
from
August 4, 2026 17:49
405b795 to
cd2e97b
Compare
- Card ID: CCT-2189 - When `auth_method` is configured to `kerberos`, configures an HTTPSNEGOAuth object for kerberos auth when connecting to HyperV Signed-off-by: Joshua Locash <jlocash@redhat.com> Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
jlocash
force-pushed
the
jlocash/wire-kerberos-config
branch
from
August 4, 2026 18:33
cd2e97b to
e671565
Compare
jlocash
marked this pull request as ready for review
August 4, 2026 18:41
DuckBoss
approved these changes
Aug 5, 2026
DuckBoss
left a comment
There was a problem hiding this comment.
LGTM, pytest failures are pre-existing and should be resolved in a separate PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a follow-up to #430 and wires up the new kerberos configuration options.
First, these changes add
python3-requests-gssapias a required dependency in the spec file. This package provides theHTTPSPNEGOAuthsession auth used to authenticate via kerberos to HyperV.As for configuring kerberos auth, there are a few different ways:
auth_methodis set tokerberos, virt-who will try and construct anHTTPSPNEGOAuthobject. Otherwise, basic auth will be usedkerberos_princpalis unset, then the default principal will be used from the given keytabkerberos_keytab(file path) is unset, the default credential cache will be usedgssapi.Credentialsobject used byHTTPSPNEGOAuth.Card ID: CCT-2189