nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
95 stars 111 forks source link

How to Implement Azure AD Workload Identity on Nutanix Karbon Cluster using terraform #615

Open ashishstationcasinos opened 1 year ago

ashishstationcasinos commented 1 year ago

I did Implement the Azure AD Workload Identity on Nutanix Karbon Cluster(manually) using the below Document (https://azure.github.io/azure-workload-identity/docs/installation/self-managed-clusters.html). It has below steps image

Is there any way I can Automate the Implementaion of Azure AD Workload Identity for Karbon Cluster using terraform ?

Please suggest

What I have done So far (terraform)

  1. Create Nutanix karbon Cluster
  2. Created a managed identity and configured with proper access.
  3. Created a Storage account and container and Uploaded the Discovery document.

Where i have an Issue

I am trying to use the cluster default service account signing key pairs ( I am not sure how they were created). But I am not able to print/get the public siging key(with terraform) to create jwks.json file. this is were I have stuck. Any ideas how can I achieve this Step ?