- PowerShell 7
- Azure CLI
- Docker CLI
- Log into Azure:
az login az account set -s <subscription>
- Set up the environment:
$name = 'auto-rotation-test' $location = 'westeurope'
- Deploy:
💡 The Key Vault and ACR names have to be globally unique
./deploy.ps1 -ResourceGroup $name -Location $location -ClusterName $name -VaultName $name -AcrName $name
- Check certificates by running the above command with
-Action ShowCertOnDisk
and-Action ShowTlsCert
. - Rotate certificates by running the above command with
-Action RotateCert
. - Check certificates again.
- Check logs by running the above command with
-Action ShowLogs
.