Skip to content

RHTAS with Azure Entra ID: supply-chain integration and documentation#121

Merged
sabre1041 merged 4 commits intovalidatedpatterns:mainfrom
mlorenzofr:sc-rhtas-entraid
May 5, 2026
Merged

RHTAS with Azure Entra ID: supply-chain integration and documentation#121
sabre1041 merged 4 commits intovalidatedpatterns:mainfrom
mlorenzofr:sc-rhtas-entraid

Conversation

@mlorenzofr
Copy link
Copy Markdown
Collaborator

@mlorenzofr mlorenzofr commented Apr 15, 2026

This work lets the supply chain use RHTAS with Azure Entra ID (instead of only SPIRE/SPIFFE), and documents how to register the app and configure pattern values on Azure and in ZTVP.

Changes

Prepare supply chain to integrate RHTAS with Entra ID

  • Supply chain values:
    • Introduced rhtas.spire and rhtas.oidc (client ID, issuer, identity, optional Kubernetes secret / Vault paths).
    • RHTPA settings were reshaped under rhtpa.url and rhtpa.oidc.*.
    • qtodo now uses qtodo.image.name / qtodo.image.version (digest-friendly)
  • _helpers.tpl: Centralized helpers for registry URL, RHTAS OIDC issuer/identity (ZTWIM vs Entra), RHTPA URLs, and shared Sigstore task parameters and environment variables.
  • rhtas.sh:
    • cosign sign / sign-blob optionally receive --oidc-client-id and --oidc-client-secret-file when set.
    • Added logging and a checks.
  • Pipeline and verify-image tasks:
    • Default params and Sigstore env wiring use the new includes
    • SPIRE CSI volume and SPIFFE_ENDPOINT_SOCKET are only mounted/injected when rhtas.spire.enabled is true.

Add RHTAS setup to Azure Entra ID documentation

  • docs/entraid.md: New RHTAS subsection with Azure CLI steps and ZTVP values-hub.yaml overrides for trusted-artifact-signer and supply-chain when using Entra ID instead of Spire.

@mlorenzofr mlorenzofr force-pushed the sc-rhtas-entraid branch 2 times, most recently from 508bc1d to eb68dbd Compare April 20, 2026 14:16
@mlorenzofr mlorenzofr force-pushed the sc-rhtas-entraid branch 6 times, most recently from 4372af6 to 39be149 Compare April 27, 2026 15:35
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
@mlorenzofr mlorenzofr marked this pull request as ready for review April 29, 2026 11:58
Copy link
Copy Markdown
Collaborator

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really good @mlorenzofr

A few comments + suggestions. However, I was able to successfully implement the approach

Comment thread docs/oidc/entraid.md Outdated
Comment thread docs/oidc/entraid.md Outdated
Comment thread docs/oidc/entraid.md Outdated
Comment thread docs/oidc/entraid.md
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
@mlorenzofr mlorenzofr requested a review from sabre1041 May 4, 2026 10:56
@mlorenzofr
Copy link
Copy Markdown
Collaborator Author

Thanks for the review @sabre1041 👍
I've just uploaded the requested changes. PTAL, and if everything is okay, we can merge.

Copy link
Copy Markdown
Collaborator

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sabre1041 sabre1041 merged commit 12243a0 into validatedpatterns:main May 5, 2026
3 checks passed
@mlorenzofr mlorenzofr deleted the sc-rhtas-entraid branch May 5, 2026 09:47
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.

2 participants