Azure Kubernetes Service · Arazzo Workflow
Azure Kubernetes Service Rotate Cluster Certificates
Version 1.0.0
Trigger certificate rotation on a cluster, poll until provisioned, and refresh user credentials.
Provider
Workflows
rotate-certificates-and-refresh-credentials
Rotate AKS cluster certificates, wait for completion, and pull refreshed user credentials.
Calls ManagedClusters_RotateClusterCertificates, polls ManagedClusters_Get until provisioningState is Succeeded, then calls ManagedClusters_ListClusterUserCredentials.
1
rotateCertificates
ManagedClusters_RotateClusterCertificates
Trigger certificate rotation. AKS accepts the request asynchronously and returns 202 Accepted.
2
pollCluster
ManagedClusters_Get
Read the cluster and inspect provisioningState. While it is still Updating the flow loops back to this step; once it reports Succeeded the flow advances to refresh credentials.
3
listUserCredentials
ManagedClusters_ListClusterUserCredentials
List the cluster user credentials. The response carries a kubeconfigs array whose first entry holds the refreshed base64-encoded kubeconfig.