Skip to content

azure: default to TrustedLaunch VMs when DisableCVM is true - #3258

Merged
mkulke merged 1 commit into
confidential-containers:mainfrom
esposem:trustedlaunch
Aug 27, 2026
Merged

azure: default to TrustedLaunch VMs when DisableCVM is true#3258
mkulke merged 1 commit into
confidential-containers:mainfrom
esposem:trustedlaunch

Conversation

@esposem

@esposem esposem commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Instead of defaulting to normal VMs, default to TrustedLaunch.

When DisableCVM is false, the ConfidentialVM security profile with VMGuestStateOnly disk encryption is applied. For standard VM sizes, a TrustedLaunch security profile with Secure Boot and vTPM is used instead.

This also simplifies the security profile logic: TrustedLaunch is always set as the baseline (with SecureBoot and vTPM), and only upgraded to ConfidentialVM when the size supports it and CVM is not disabled.

Instead of defaulting to normal VMs, default to TrustedLaunch.

When DisableCVM is false, the ConfidentialVM security
profile with VMGuestStateOnly disk encryption is applied. For
standard VM sizes, a TrustedLaunch security profile with Secure
Boot and vTPM is used instead.

This also simplifies the security profile logic: TrustedLaunch is
always set as the baseline (with SecureBoot and vTPM), and only
upgraded to ConfidentialVM when the size supports it and CVM is
not disabled.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
@mkulke
mkulke merged commit 9d38293 into confidential-containers:main Aug 27, 2026
22 checks passed
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.

3 participants