Skip to content

UID2-6995 Add --omit-id for Azure policy gen#2567

Merged
swibi-ttd merged 5 commits into
mainfrom
swi-UID2-6995-omit-id-azure
Jun 2, 2026
Merged

UID2-6995 Add --omit-id for Azure policy gen#2567
swibi-ttd merged 5 commits into
mainfrom
swi-UID2-6995-omit-id-azure

Conversation

@swibi-ttd
Copy link
Copy Markdown
Contributor

@swibi-ttd swibi-ttd commented Jun 1, 2026

Makes Azure CC + AKS CCE policy generation registry-agnostic.

  • Add --omit-id to acipolicygen → drops the id field (derived from the image ref string).
  • Remove the IMAGE_NAME env var from the operator templates → drops the other registry-embedding site (the IMAGE_NAME env rule). azr.py now reads IMAGE_VERSION (baked into the image) for the instance-id prefix instead of IMAGE_NAME.

Together these remove the registry string from the policy entirely, so a partner who mirrors the byte-identical operator + SKR images into their own registry attests against the same registered enclave ID — no per-partner policy regeneration. The dm-verity layers hashes remain the cryptographic image identity, so enforcement is unchanged.

@swibi-ttd swibi-ttd marked this pull request as ready for review June 1, 2026 04:38
@swibi-ttd swibi-ttd merged commit 920ccf6 into main Jun 2, 2026
5 checks passed
@swibi-ttd swibi-ttd deleted the swi-UID2-6995-omit-id-azure branch June 2, 2026 00:10
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