This script assigns the Key Vault Secrets User role to a managed identity with access at the certificate level within an Azure Key Vault, enhancing secure, granular access control.
I'll show you how to automate the process of fetching certificates and private keys from Azure Key Vault and creating Kubernetes secrets in an AKS cluster, using a Bash script and Azure CLI. This approach can also be integrated into your CI/CD pipeline for full automation.