Edits for proper authentication to azure automation

This commit is contained in:
Cameron Battagler
2017-03-16 14:21:06 -05:00
parent dafe8b85b5
commit a16cf0f3f8
@@ -23,10 +23,8 @@ Provides the scripts and lists the steps to set up automatically exporting your
- Create a corresponding pfx certificate by taking the thumbprint of the newly created certificate and running these commands:
```powershell
$CertPassword = ConvertTo-SecureString -String <YourPassword> -Force -AsPlainText
Export-PfxCertificate -Cert "cert:\localmachine\my\$($cert.Thumbprint)" -FilePath <PathAndFileName>.pfx -Password $CertPassword
```
`$CertPassword = ConvertTo-SecureString -String <YourPassword> -Force -AsPlainText`
`Export-PfxCertificate -Cert "cert:\localmachine\my\$($cert.Thumbprint)" -FilePath <PathAndFileName>.pfx -Password $CertPassword`
- Upload the .cer file to your subscription [in the old portal](https://manage.windowsazure.com/)
- Upload the .pfx file to the certificates under Assets in the automation account that you want to use on Azure. You will use the password you gave in the previous step to authenticate it.