How to retrieve ID from KeyVault addon profile with ManagedCluster(AKS) CSharp #2287
Unanswered
MarkTallentire
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Im creating a managed cluster with a keyvault in Pulumi csharp and struggling to retrieve the clientID from the ManagedCluster AddonProfile
Heres my AddonProfile creation:
Originally I had
AzureKVObjectId = cluster.AddonProfiles.Apply(x => x["azureKeyvaultSecretsProvider"].Identity.ClientId);
which worked but has since stopped working with a NullReferenceException.Any idea on the correct way to retrieve the ObjectID of the identity that this creates?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions