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.
Check out my repository with guidelines on how to set up automatic upgrades on your Azure Kubernetes Service (AKS) cluster. This might interest you if you want to simplify your AKS operations and keep your cluster updated with little work! π€