Skip to content

aelij/kestrel-aks-kv-rotation

Repository files navigation

Kestrel/AKS certificate auto-rotation test

Prerequisites

  • PowerShell 7
  • Azure CLI
  • Docker CLI

Steps

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks