how to connect to Azure Key Vault using CSI driver in an Azure Kubernetes Service (AKS) cluster

贾海锋 306 Reputation points
2024-09-18T04:59:50.86+00:00

I followed this post

https://learn.microsoft.com/en-us/azure/service-connector/tutorial-python-aks-keyvault-csi-driver?tabs=azure-portal

It is ok with KV secret, but I want to use the KV cert.

I got the error message: The certificate certificate does not have a private key.

I checked the value of /mnt/secret-store/mycert ,
yes, there is no private key.

so how can I download the private key or any other workaround ?

thanks

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,288 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,119 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.