title: KeyVault generated certificate with exportable private key
body: <p>I'm attempting to create a self signed certificate <em>in</em> KeyVault using the "Self" issuer.</p>
  
  <pre><code>$policy = New-AzureKeyVaultCertificatePolicy -SubjectName "CN=$($certificateName)" -IssuerName "Self" -ValidityInMonths 12 
  
  $policy.Exportable = $true
  
  Add-AzureKeyVaultCertificate -VaultName $vaultName -Name $certificateName -CertificatePolicy $policy
  </code></pre>
  
  <p>However, when getting the certificate back it doesn't appear to have a private key.</p>
  
  <p>Creating certificates directly in KeyVault doesn't seem hugely covered online, after digging into the rest API documentation and source code for the powershell cmdlets, I'm stumped.</p>
  
  <p>I'm hoping it's something simple I've missed, as I wish to avoid creating the certificate locally..</p>