Reputation: 24636
Is it possible to upload an Azure Management Certificate using the Azure Powershell or Azure CLI?
Background: My goal is to write a script that'll let me log into Azure using my Microsoft credentials, and then once I'm authenticated to Azure it'll let me upload a management cert to each of my subscriptions.
Then in the future I'll be able to manage my subscriptions using that cert I uploaded and not have to worry about logging in.
Upvotes: 3
Views: 1502
Reputation: 368
Add-AzureCertificate -ServiceName "ContosoService" -CertToDeploy ContosoCertificate.pfx -Password "password"
Upvotes: 2