Skip to content

feat(qtodo): migrate client auth from secret to SPIFFE federated JWT assertion#102

Open
minmzzhang wants to merge 1 commit intovalidatedpatterns:mainfrom
minmzzhang:qtodo-client-assertion
Open

feat(qtodo): migrate client auth from secret to SPIFFE federated JWT assertion#102
minmzzhang wants to merge 1 commit intovalidatedpatterns:mainfrom
minmzzhang:qtodo-client-assertion

Conversation

@minmzzhang
Copy link
Collaborator

Replace qtodo-app's client_secret authentication with federated-jwt, enabling workload identity-based client assertion using SPIFFE JWT SVIDs.

Keycloak:

  • qtodo-app client: clientAuthenticatorType=federated-jwt, serviceAccountsEnabled=true
  • Auto-populate jwt.credential.sub for federated-jwt clients in realm import
  • Condition QTODO_CLIENT_SECRET placeholder and ExternalSecret (now disabled)

QTodo:

  • spiffe-helper audience changed from "qtodo" to Keycloak realm URL
  • Quarkus reads JWT SVID via QUARKUS_OIDC_CREDENTIALS_JWT_TOKEN_PATH
  • Mount svids volume to qtodo container for client assertion
  • Disable oidc-client-secret ExternalSecret (no longer needed)

Vault:

  • JWT role audience updated from "qtodo" to Keycloak realm URL so one JWT SVID serves both Keycloak and Vault authentication

…assertion

Replace qtodo-app's client_secret authentication with federated-jwt, enabling workload identity-based client assertion using SPIFFE JWT SVIDs.

Keycloak:
- qtodo-app client: clientAuthenticatorType=federated-jwt, serviceAccountsEnabled=true
- Auto-populate jwt.credential.sub for federated-jwt clients in realm import
- Condition QTODO_CLIENT_SECRET placeholder and ExternalSecret (now disabled)

QTodo:
- spiffe-helper audience changed from "qtodo" to Keycloak realm URL
- Quarkus reads JWT SVID via QUARKUS_OIDC_CREDENTIALS_JWT_TOKEN_PATH
- Mount svids volume to qtodo container for client assertion
- Disable oidc-client-secret ExternalSecret (no longer needed)

Vault:
- JWT role audience updated from "qtodo" to Keycloak realm URL so one JWT SVID serves both Keycloak and Vault authentication

Signed-off-by: Min Zhang <minzhang@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant