I am trying to create kubernetes secrets by retrieving the secret data from azure keyvault.
I know that there is the secrets store csi driver, but this plugin allows me to read secrets from KeyVault, and make them available as volume mounts only, but not kubernetes secrets.
The problem is, I use some kubernetes custom resource, which takes the k8s secret name in a field and then retrieve data from k8s secrets internally.
So, I need to be abe to create a kubernetes secret from data obtained from Azure Keyvault. Is this possible?
you can use an operator called Azure Key Vault to Kubernetes.
it has a piece called
Azure Key Vault Controller
which can help you do that exactly.