Proposed Pull Request Change

title description ms.topic ms.custom ms.subservice ms.date ai-usage author ms.author zone_pivot_groups
Trusted Launch with Azure Kubernetes Service (AKS) Learn how Trusted Launch protects the Azure Kubernetes Cluster (AKS) nodes against boot kits, rootkits, and kernel-level malware. how-to devx-track-azurecli aks-security 07/22/2026 ai-assisted allyford allyford azure-cli-arm-bicep-terraform-portal
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
⚠ Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Trusted Launch with Azure Kubernetes Service (AKS) description: Learn how Trusted Launch protects the Azure Kubernetes Cluster (AKS) nodes against boot kits, rootkits, and kernel-level malware. ms.topic: how-to ms.custom: devx-track-azurecli ms.subservice: aks-security ms.date: 07/22/2026 ai-usage: ai-assisted author: allyford ms.author: allyford zone_pivot_groups: azure-cli-arm-bicep-terraform-portal # Customer intent: "As a Kubernetes administrator, I want to implement Trusted Launch on AKS clusters, so that I can enhance the security of my nodes against malware and ensure the integrity of the boot process." --- # Trusted Launch for Azure Kubernetes Service (AKS) [Trusted Launch][trusted-launch-overview] improves the security of generation 2 virtual machines (VMs) by protecting against advanced and persistent attack techniques. It enables administrators to deploy AKS nodes, which contain the underlying virtual machines, with verified and signed bootloaders, OS kernels, and drivers. By using secure and measured boot, administrators gain insights and confidence of the entire boot chain's integrity. This article helps you understand this new feature, and how to implement it. [!INCLUDE [azure linux 2.0 retirement](./includes/azure-linux-retirement.md)] ## Overview Trusted Launch is composed of several, coordinated infrastructure technologies that can be enabled independently. Each technology provides another layer of defense against sophisticated threats. - **vTPM** - Trusted Launch introduces a virtualized version of a hardware [Trusted Platform Module][trusted-platform-module-overview] (TPM), compliant with the TPM 2.0 specification. It serves as a dedicated secure vault for keys and measurements. Trusted Launch provides your VM with its own dedicated TPM instance, running in a secure environment outside the reach of any VM. The vTPM enables [attestation][attestation-overview] by measuring the entire boot chain of your VM (UEFI, OS, system, and drivers). Trusted Launch uses the vTPM to perform remote attestation by the cloud. It's used for platform health checks and for making trust-based decisions. As a health check, Trusted Launch can cryptographically certify that your VM booted correctly. If the process fails, possibly because your VM is running an unauthorized component, [Microsoft Defender for Cloud][microsoft-defender-for-cloud-overview] issues integrity alerts. The alerts include details on which components failed to pass integrity checks. - **Secure Boot** - At the root of Trusted Launch is Secure Boot for your VM. This mode, which is implemented in platform firmware, protects against the installation of malware-based rootkits and boot kits. Secure Boot works to ensure that only signed operating systems and drivers can boot. It establishes a "root of trust" for the software stack on your VM. With Secure Boot enabled, all OS boot components (boot loader, kernel, kernel drivers) must be signed by trusted publishers. Both Windows and select Linux distributions support Secure Boot. If Secure Boot fails to authenticate an image signed by a trusted publisher, the VM isn't allowed to boot. For more information, see [Secure Boot][secure-boot-overview]. ## Before you begin :::zone target="docs" pivot="azure-cli" - The Azure CLI version 2.66.0 or later. Run `az --version` to find the version, and run `az upgrade` to upgrade the version. If you need to install or upgrade, see [Install Azure CLI][install-azure-cli]. :::zone-end - Secure Boot requires signed boot loaders, OS kernels, and drivers. ## Limitations - AKS supports Trusted Launch on Kubernetes version 1.25.2 and higher. - Trusted Launch only supports [Azure Generation 2 VMs][azure-generation-two-virtual-machines]. - Node pools with Windows Server operating system aren't supported. - Trusted Launch can't be enabled in the same node pool as [Arm64][Arm64], [Pod Sandboxing][pod-sandboxing], or [Confidential VM][CVM]. For more information, see [node images documentation][node-images]. - Trusted Launch can only be enabled in the same node pool as [FIPS][FIPS] with Ubuntu 22.04. - Trusted Launch doesn't support virtual node. - Availability sets aren't supported, only Virtual Machine Scale Sets. - To enable Secure Boot on GPU node pools using the Ubuntu operating system, you need to skip installing the GPU driver (`--gpu-driver None`). For more information, see [Skip GPU driver installation][skip-gpu-driver-install] and [Use NVIDIA GPUs on Azure Kubernetes Service (AKS)][use-nvidia-gpu]. This limitation doesn't apply for running GPU workloads with Azure Linux or Azure Container Linux operating systems. - Ephemeral OS disks can be created with Trusted Launch and all regions are supported. However, not all virtual machines sizes are supported. For more information, see [Trusted Launch ephemeral OS sizes][tusted-launch-ephemeral-os-sizes]. - [Flatcar Container Linux for AKS][flatcar] doesn't support Trusted Launch on AKS. - Trusted Launch isn't supported through the AzureRM (`azurerm`) Terraform provider. To deploy Trusted Launch node pools, use the Azure CLI, ARM template, or Bicep instructions in this article. ## Create an AKS cluster with Trusted Launch enabled When creating a cluster, enabling vTPM or Secure Boot automatically sets up your node pools to use the customized Trusted Launch image. This image is specifically configured to support the security features enabled by Trusted Launch. :::zone target="docs" pivot="azure-cli" 1. Create an AKS cluster using the [az aks create][az-aks-create] command. Before running the command, review the following parameters: * `--name`: Enter a unique name for the AKS cluster, such as *myAKSCluster*. * `--resource-group`: Enter the name of an existing resource group to host the AKS cluster resource. * `--enable-secure-boot`: Enables Secure Boot to authenticate an image signed by a trusted publisher. * `--enable-vtpm`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. > [!NOTE] > Secure Boot requires signed boot loaders, OS kernels, and drivers. If after enabling Secure Boot your nodes don't start, you can verify which boot components are responsible for Secure Boot failures within an Azure Linux Virtual Machine. See [verify Secure Boot failures][verify-secure-boot-failures]. The following example creates a cluster named *myAKSCluster* with one node in the *myResourceGroup*, and enables Secure Boot and vTPM: ```azurecli az aks create \ --name myAKSCluster \ --resource-group myResourceGroup \ --node-count 1 \ --enable-secure-boot \ --enable-vtpm \ --generate-ssh-keys ``` 1. Run the following command to get access credentials for the Kubernetes cluster. Use the [az aks get-credentials][az-aks-get-credentials] command and replace the values for the cluster name and the resource group name. ```azurecli az aks get-credentials --resource-group myResourceGroup --name myAKSCluster ``` :::zone-end :::zone target="docs" pivot="arm" 1. Create a template with Trusted Launch parameters. Before creating the template, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your template, provide values for `enableVTPM` and `enableSecureBoot`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `"properties"`, as shown in the following example: ```json "properties": { ..., "securityProfile": { "enableVTPM": true, "enableSecureBoot": true, } } ``` 1. Deploy your template with vTPM and secure boot enabled on your cluster. See [Deploy an AKS cluster using an ARM template][quick-ARM-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="bicep" 1. Create a Bicep file with Trusted Launch parameters. Before creating the file, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your Bicep file, provide values for `enableVTPM` and `enableSecureBoot`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `properties`, as shown in the following example: ```bicep properties: { // ... securityProfile: { enableVTPM: true enableSecureBoot: true } } ``` 1. Deploy your Bicep file with vTPM and secure boot enabled on your cluster. See [Deploy an AKS cluster using a Bicep file][quick-bicep-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="terraform" The AzureRM (`azurerm`) Terraform provider doesn't support Trusted Launch because it doesn't expose Trusted Launch node pool settings. To create an AKS cluster with Trusted Launch enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end :::zone target="docs" pivot="azure-portal" The Azure portal **doesn't support** creating an AKS cluster with Trusted Launch enabled. To create an AKS cluster with Trusted Launch enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end ## Add a node pool with Trusted Launch enabled When you create a node pool, enabling vTPM or Secure Boot automatically sets up your node pools to use the customized Trusted Launch image. This image is specifically configured to support the security features enabled by Trusted Launch. :::zone target="docs" pivot="azure-cli" 1. Add a node pool with Trusted Launch enabled using the [`az aks nodepool add`][az-aks-nodepool-add] command. Before running the command, review the following parameters: * `--cluster-name`: Enter the name of the AKS cluster. * `--resource-group`: Enter the name of an existing resource group to host the AKS cluster resource. * `--name`: Enter a unique name for the node pool. The name of a node pool can only contain lowercase alphanumeric characters and must begin with a lowercase letter. For Linux node pools, the length must be between 1 and 11 characters. * `--node-count`: The number of nodes in the Kubernetes agent pool. Default is 3. * `--enable-secure-boot`: Enables Secure Boot to authenticate image signed by a trusted publisher. * `--enable-vtpm`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. > [!NOTE] > Secure Boot requires signed boot loaders, OS kernels, and drivers. If after enabling Secure Boot your nodes don't start, you can verify which boot components are responsible for Secure Boot failures within an Azure Linux Virtual Machine. See [verify Secure Boot failures][verify-secure-boot-failures]. The following example deploys a node pool with vTPM and Secure Boot enabled on a cluster named *myAKSCluster* with three nodes: ```azurecli-interactive az aks nodepool add --resource-group myResourceGroup --cluster-name myAKSCluster --name mynodepool --node-count 3 --enable-vtpm --enable-secure-boot ``` 1. Check that your node pool is using a Trusted Launch image. Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` should be `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="arm" 1. Create a template with Trusted Launch parameters. Before creating the template, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your template, provide values for `enableVTPM` and `enableSecureBoot`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `"properties"`, as shown in the following example: ```json "properties": { ..., "securityProfile": { "enableVTPM": true, "enableSecureBoot": true, } } ``` 1. Deploy your template with vTPM and secure boot enabled on your cluster. See [Deploy an AKS cluster using an ARM template][quick-ARM-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="bicep" 1. Create a Bicep file with Trusted Launch parameters. Before creating the file, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your Bicep file, provide values for `enableVTPM` and `enableSecureBoot`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `properties`, as shown in the following example: ```bicep properties: { // ... securityProfile: { enableVTPM: true enableSecureBoot: true } } ``` 1. Deploy your Bicep file with vTPM and secure boot enabled on your cluster. See [Deploy an AKS cluster using a Bicep file][quick-bicep-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="terraform" The AzureRM (`azurerm`) Terraform provider doesn't support Trusted Launch because it doesn't expose Trusted Launch node pool settings. To add a node pool with Trusted Launch enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end :::zone target="docs" pivot="azure-portal" The Azure portal **doesn't support** adding a node pool with Trusted Launch enabled. To add a node pool with Trusted Launch enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end ## Add a node pool with Trusted Launch and FIPS enabled You can enable Trusted Launch and FIPS together only for Ubuntu 22.04 node pools on Generation 2 VM sizes. For FIPS-specific operations, such as disabling FIPS on an existing node pool, see [Enable Federal Information Processing Standard (FIPS) for Azure Kubernetes Service (AKS) node pools][FIPS]. :::zone target="docs" pivot="azure-cli" 1. Add a node pool with Trusted Launch and FIPS enabled by using the [`az aks nodepool add`][az-aks-nodepool-add] command. Before running the command, review the following parameters: * `--cluster-name`: Enter the name of the AKS cluster. * `--resource-group`: Enter the name of an existing resource group to host the AKS cluster resource. * `--name`: Enter a unique name for the node pool. The name of a node pool can only contain lowercase alphanumeric characters and must begin with a lowercase letter. For Linux node pools, the length must be between 1 and 11 characters. * `--node-count`: The number of nodes in the Kubernetes agent pool. Default is 3. * `--enable-secure-boot`: Enables Secure Boot to authenticate image signed by a trusted publisher. * `--enable-vtpm`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. * `--enable-fips-image`: Enables the FIPS-compliant node image for the node pool. > [!NOTE] > Secure Boot requires signed boot loaders, OS kernels, and drivers. If after enabling Secure Boot your nodes don't start, you can verify which boot components are responsible for Secure Boot failures within an Azure Linux Virtual Machine. See [verify Secure Boot failures][verify-secure-boot-failures]. The following example deploys a node pool with vTPM, Secure Boot, and FIPS enabled on a cluster named *myAKSCluster* with three nodes: ```azurecli-interactive az aks nodepool add --resource-group myResourceGroup --cluster-name myAKSCluster --name mynodepool --node-count 3 --enable-vtpm --enable-secure-boot --enable-fips-image ``` 1. Check that your node pool uses a Trusted Launch image. Trusted Launch nodes have the following output: * Node image version containing both `"TL"` and `"FIPS"`. * `"Security-type"` is `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="arm" 1. Create a template with Trusted Launch and FIPS parameters. Before creating the template, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. * `enableFips`: Enables the FIPS-compliant node image for the node pool. In your template, provide values for `enableVTPM`, `enableSecureBoot`, and `enableFips`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `"properties"`, as shown in the following example: ```json "properties": { ..., "osSKU": "Ubuntu", "enableFips": true, "securityProfile": { "enableVTPM": true, "enableSecureBoot": true, } } ``` 1. Deploy your template with vTPM, secure boot, and FIPS enabled on your cluster. See [Deploy an AKS cluster using an ARM template][quick-ARM-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="bicep" 1. Create a Bicep file with Trusted Launch and FIPS parameters. Before creating the file, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. * `enableFips`: Enables the FIPS-compliant node image for the node pool. In your Bicep file, provide values for `enableVTPM`, `enableSecureBoot`, and `enableFips`. The same schema used for CLI deployment exists in the `Microsoft.ContainerService/managedClusters/agentPools` definition under `properties`, as shown in the following example: ```bicep properties: { // ... osSKU: 'Ubuntu' enableFips: true securityProfile: { enableVTPM: true enableSecureBoot: true } } ``` 1. Deploy your Bicep file with vTPM, secure boot, and FIPS enabled on your cluster. See [Deploy an AKS cluster using a Bicep file][quick-bicep-deploy] for detailed instructions. :::zone-end :::zone target="docs" pivot="terraform" The AzureRM (`azurerm`) Terraform provider doesn't support Trusted Launch because it doesn't expose Trusted Launch node pool settings. To add a node pool with Trusted Launch and FIPS enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end :::zone target="docs" pivot="azure-portal" The Azure portal **doesn't support** adding a node pool with Trusted Launch and FIPS enabled. To add a node pool with Trusted Launch and FIPS enabled, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end ## Enable vTPM or secure boot on an existing Linux node pool You can enable vTPM, secure boot, or both on an existing standard Linux node pool that uses a Trusted Launch-capable Ubuntu or Azure Linux image. The node pool doesn't need to already use a Trusted Launch image, but it must meet the existing Trusted Launch requirements and limitations. AKS reimages the node pool to a Trusted Launch image, which recreates the nodes and disrupts workloads. Perform the update during a maintenance window, and make sure your workloads tolerate node reimaging. :::zone target="docs" pivot="azure-cli" 1. Update a node pool to enable vTPM or secure boot using the [`az aks nodepool update`][az-aks-nodepool-update] command. Before running the command, review the following parameters: * `--resource-group`: Enter the name of an existing resource group hosting your existing AKS cluster. * `--cluster-name`: Enter a unique name for the AKS cluster, such as *myAKSCluster*. * `--name`: Enter the name of your node pool, such as *mynodepool*. * `--enable-secure-boot`: Enables secure boot to authenticate that the image was signed by a trusted publisher. * `--enable-vtpm`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. > [!NOTE] > Secure Boot requires signed boot loaders, OS kernels, and drivers. If after enabling secure boot your nodes don't start, you can verify which boot components are responsible for Secure Boot failures within an Azure Linux Virtual Machine. See [verify Secure Boot failures][verify-secure-boot-failures]. The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and enables vTPM: ```azurecli-interactive az aks nodepool update --cluster-name myAKSCluster --resource-group myResourceGroup --name mynodepool --enable-vtpm ``` The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and enables secure boot: ```azurecli-interactive az aks nodepool update --cluster-name myAKSCluster --resource-group myResourceGroup --name mynodepool --enable-secure-boot ``` The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and enables both vTPM and secure boot: ```azurecli-interactive az aks nodepool update \ --cluster-name myAKSCluster \ --resource-group myResourceGroup \ --name mynodepool \ --enable-vtpm \ --enable-secure-boot ``` 1. After the update completes, verify that your node pool uses a Trusted Launch image. Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="arm" 1. Update your ARM template with Trusted Launch parameters. Before updating the template, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your template, set `enableVTPM`, `enableSecureBoot`, or both in the node pool `securityProfile`. The following example enables both vTPM and secure boot: ```json "properties": { ..., "securityProfile": { "enableVTPM": true, "enableSecureBoot": true, } } ``` 1. Deploy your updated template with vTPM and secure boot enabled on your node pool. For detailed instructions, see [Deploy an AKS cluster using an ARM template][quick-ARM-deploy]. 1. After the deployment completes, verify that your node pool uses a Trusted Launch image. Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="bicep" 1. Update your Bicep file with Trusted Launch parameters. Before updating the file, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your Bicep file, set `enableVTPM`, `enableSecureBoot`, or both in the node pool `securityProfile`. The following example enables both vTPM and secure boot: ```bicep properties: { // ... securityProfile: { enableVTPM: true enableSecureBoot: true } } ``` 1. Deploy your updated Bicep file with vTPM and secure boot enabled on your node pool. For detailed instructions, see [Deploy an AKS cluster using a Bicep file][quick-bicep-deploy]. 1. After the deployment completes, verify that your node pool uses a Trusted Launch image. Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="terraform" The AzureRM (`azurerm`) Terraform provider doesn't support Trusted Launch because it doesn't expose Trusted Launch node pool settings. To enable vTPM or secure boot on an existing node pool, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end :::zone target="docs" pivot="azure-portal" The Azure portal **doesn't support** enabling vTPM or secure boot on an existing node pool. To enable vTPM or secure boot on an existing node pool, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end ## Assign pods to nodes with Trusted Launch enabled You can constrain a pod and restrict it to run on a specific node or nodes, or preference to nodes with Trusted Launch enabled. You can control this using the following node pool selector in your pod manifest. ```yml spec:   nodeSelector:         kubernetes.azure.com/security-type = "TrustedLaunch" ``` ## Disable vTPM or secure boot on an existing Linux node pool You can disable vTPM, secure boot, or both on an existing Linux node pool. If either feature remains enabled, the node pool keeps using the Trusted Launch image path. If you disable both features on a regular Ubuntu or Azure Linux node pool, AKS reimages the node pool to the corresponding non-Trusted Launch image and changes the underlying Virtual Machine Scale Set security type back to Standard. :::zone target="docs" pivot="azure-cli" 1. Update a node pool to disable secure boot or vTPM by using the [`az aks nodepool update`][az-aks-nodepool-update] command. Before running the command, review the following parameters: * `--resource-group`: Enter the name of an existing resource group hosting your existing AKS cluster. * `--cluster-name`: Enter a unique name for the AKS cluster, such as *myAKSCluster*. * `--name`: Enter the name of your node pool, such as *mynodepool*. * `--disable-secure-boot`: Disables secure boot. * `--disable-vtpm`: Disables vTPM. The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and disables vTPM: ```azurecli-interactive az aks nodepool update --cluster-name myAKSCluster --resource-group myResourceGroup --name mynodepool --disable-vtpm ``` The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and disables secure boot: ```azurecli-interactive az aks nodepool update --cluster-name myAKSCluster --resource-group myResourceGroup --name mynodepool --disable-secure-boot ``` The following example updates the node pool *mynodepool* on *myAKSCluster* in *myResourceGroup* and disables both vTPM and secure boot: ```azurecli-interactive az aks nodepool update \ --cluster-name myAKSCluster \ --resource-group myResourceGroup \ --name mynodepool \ --disable-vtpm \ --disable-secure-boot ``` 1. After the update completes, verify that your node pool uses the expected image. If either vTPM or secure boot remains enabled, Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. If you disable both vTPM and secure boot, the node image version shouldn't contain `"TL"`, and `"Security-type"` shouldn't be `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="arm" 1. Update your ARM template with Trusted Launch parameters. Before updating the template, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your template, set `enableVTPM`, `enableSecureBoot`, or both in the node pool `securityProfile`. The following example disables both vTPM and secure boot: ```json "properties": { ..., "securityProfile": { "enableVTPM": false, "enableSecureBoot": false, } } ``` 1. Deploy your updated template with vTPM and secure boot disabled on your node pool. For detailed instructions, see [Deploy an AKS cluster using an ARM template][quick-ARM-deploy]. 1. After the deployment completes, verify that your node pool uses the expected image. If either vTPM or secure boot remains enabled, Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. If you disable both vTPM and secure boot, the node image version shouldn't contain `"TL"`, and `"Security-type"` shouldn't be `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="bicep" 1. Update your Bicep file with Trusted Launch parameters. Before updating the file, review the following parameters: * `enableSecureBoot`: Enables secure boot to authenticate an image signed by a trusted publisher. * `enableVTPM`: Enables vTPM and performs attestation by measuring the entire boot chain of your VM. In your Bicep file, set `enableVTPM`, `enableSecureBoot`, or both in the node pool `securityProfile`. The following example disables both vTPM and secure boot: ```bicep properties: { // ... securityProfile: { enableVTPM: false enableSecureBoot: false } } ``` 1. Deploy your updated Bicep file with vTPM and secure boot disabled on your node pool. For detailed instructions, see [Deploy an AKS cluster using a Bicep file][quick-bicep-deploy]. 1. After the deployment completes, verify that your node pool uses the expected image. If either vTPM or secure boot remains enabled, Trusted Launch nodes have the following output: * Node image version containing `"TL"`, such as `"AKSUbuntu-2204-gen2TLcontainerd"`. * `"Security-type"` is `"Trusted Launch"`. If you disable both vTPM and secure boot, the node image version shouldn't contain `"TL"`, and `"Security-type"` shouldn't be `"Trusted Launch"`. ```bash kubectl get nodes kubectl describe node {node-name} | grep -e node-image-version -e security-type ``` :::zone-end :::zone target="docs" pivot="terraform" The AzureRM (`azurerm`) Terraform provider doesn't support Trusted Launch because it doesn't expose Trusted Launch node pool settings. To disable vTPM or secure boot on an existing node pool, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end :::zone target="docs" pivot="azure-portal" The Azure portal **doesn't support** disabling vTPM or secure boot on an existing node pool. To disable vTPM or secure boot on an existing node pool, use the Azure CLI, ARM template, or Bicep instructions in this article. :::zone-end ## Next steps In this article, you learned how to enable Trusted Launch. Learn more about [Trusted Launch][trusted-launch-overview]. <!-- EXTERNAL LINKS --> <!-- INTERNAL LINKS --> [install-azure-cli]: /cli/azure/install-azure-cli [az-feature-register]: /cli/azure/feature#az-feature-register [az-provider-register]: /cli/azure/provider#az-provider-register [az-feature-show]: /cli/azure/feature#az-feature-show [trusted-launch-overview]: /azure/virtual-machines/trusted-launch [secure-boot-overview]: /windows-hardware/design/device-experiences/oem-secure-boot [trusted-platform-module-overview]: /windows/security/information-protection/tpm/trusted-platform-module-overview [attestation-overview]: /windows/security/information-protection/tpm/tpm-fundamentals#measured-boot-with-support-for-attestation [microsoft-defender-for-cloud-overview]: /azure/defender-for-cloud/defender-for-cloud-introduction [az-aks-get-credentials]: /cli/azure/aks#az-aks-get-credentials [az-aks-create]: /cli/azure/aks#az-aks-create [az-aks-nodepool-add]: /cli/azure/aks/nodepool#az-aks-nodepool-add [az-aks-nodepool-update]: /cli/azure/aks/nodepool#az-aks-nodepool-update [azure-generation-two-virtual-machines]: /azure/virtual-machines/generation-2 [verify-secure-boot-failures]: /azure/virtual-machines/trusted-launch-faq#verify-secure-boot-failures [tusted-launch-ephemeral-os-sizes]: /azure/virtual-machines/ephemeral-os-disks#trusted-launch-for-ephemeral-os-disks [skip-gpu-driver-install]: gpu-cluster.md#skip-gpu-driver-installation [use-nvidia-gpu]: ./use-nvidia-gpu.md [FIPS]: ./enable-fips-nodes.md [Arm64]: ./use-arm64-vms.md [pod-sandboxing]: ./use-pod-sandboxing.md [CVM]: ./use-cvm.md [node-images]: ./node-images.md [quick-ARM-deploy]: /azure/aks/learn/quick-kubernetes-deploy-rm-template [quick-bicep-deploy]: /azure/aks/learn/quick-kubernetes-deploy-bicep [flatcar]: ./flatcar-container-linux-for-aks.md
Success! Branch created successfully. Create Pull Request on GitHub
Error: