title: "Incorrect padding" when trying to create managed Kubernetes cluster on Azure with AKS
body: <p>I am working through the <a href="https://github.com/couchbase-partners/azure-kubernetes-couchbase" rel="nofollow noreferrer">instructions outlined here</a> to try and set up a Couchbase cluster on Azure Container Service (AKS). That tutorial is using terminal/Mac, and I'm using Powershell/Windows.</p>
  
  <p>I'm getting an error before I even get to the Couchbase part. I successfully created a resource group (which I called "cb_ask_spike", and yes it does appear on the Portal) from the command line, but then I try to create an AKS cluster:</p>
  
  <p><code>az aks create --resource-group cb_aks_spike --name cbakscluster</code></p>
  
  <p>I also tried:</p>
  
  <p><code>az aks create --resource-group cb_aks_spike --name cbakscluster --generate-ssh-keys</code></p>
  
  <p>In both cases, I get an error:</p>
  
  <blockquote>
    <p>az aks create: error: Incorrect padding</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/h9gEj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h9gEj.png" alt="enter image description here"></a></p>
  
  <p>I don't know what this error message means, and I can't seem to find any reference to it in the documentation or anywhere. What am I doing wrong?</p>
  
  <p>I'm using azure-cli v2.0.31.</p>