Zain Rizvi
Zain Rizvi

Reputation: 24636

How to upload an Azure Management Certificate using the Azure Powershell

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

Answers (1)

bonafide
bonafide

Reputation: 368

Add-AzureCertificate -ServiceName "ContosoService" -CertToDeploy ContosoCertificate.pfx -Password "password"

Found here

Upvotes: 2

Related Questions