diff --git a/modules/Microsoft.ContainerService/managedClusters/deploy.bicep b/modules/Microsoft.ContainerService/managedClusters/deploy.bicep index 04b4a0532f..53ac8e1856 100644 --- a/modules/Microsoft.ContainerService/managedClusters/deploy.bicep +++ b/modules/Microsoft.ContainerService/managedClusters/deploy.bicep @@ -611,3 +611,6 @@ output omsagentIdentityObjectId string = contains(managedCluster.properties, 'ad @description('The location the resource was deployed into.') output location string = managedCluster.location + +@description('The OIDC token issuer Url.') +output oidcIssuerUrl string = enableOidcIssuerProfile ? managedCluster.properties.oidcIssuerProfile.issuerURL : '' diff --git a/modules/Microsoft.ContainerService/managedClusters/readme.md b/modules/Microsoft.ContainerService/managedClusters/readme.md index 510d76a2a0..357423610f 100644 --- a/modules/Microsoft.ContainerService/managedClusters/readme.md +++ b/modules/Microsoft.ContainerService/managedClusters/readme.md @@ -357,6 +357,7 @@ userAssignedIdentities: { | `kubeletidentityObjectId` | string | The Object ID of the AKS identity. | | `location` | string | The location the resource was deployed into. | | `name` | string | The name of the managed cluster. | +| `oidcIssuerUrl` | string | The OIDC token issuer Url. | | `omsagentIdentityObjectId` | string | The Object ID of the OMS agent identity. | | `resourceGroupName` | string | The resource group the managed cluster was deployed into. | | `resourceId` | string | The resource ID of the managed cluster. |