简体   繁体   English

Azure在Power Shell中获取证书

[英]Azure Get Certificate in Power Shell

Trying to list all the certificates in my account. 尝试列出我帐户中的所有证书。

When using Get-AzureCertificate , it complains I need to select default subscription with Select-AzureSubscription . 使用Get-AzureCertificate ,它抱怨我需要使用Select-AzureSubscription选择默认订阅。 But no subscription can be selected with Select-AzureSubscription , 但是无法使用Select-AzureSubscription
I can only select subscription with Select-AzureRmSubscription . 我只能使用Select-AzureRmSubscription选择订阅。 But this Get-AzureCertificate needs Select-AzureSubscription . 但是此Get-AzureCertificate需要Select-AzureSubscription

How do I list all certificates in my Azure with PowerShell? 如何使用PowerShell列出Azure中的所有证书?

Did you log in to an ASM subscription? 您是否登录到ASM订阅? Looks like you have logged in using Add-AzureRMAccount or Login-AzureRMAccount. 看起来您已使用Add-AzureRMAccount或Login-AzureRMAccount登录。 Use Add-AzureAccount instead. 请改用Add-AzureAccount。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Azure中运行Power Shell脚本 - Running a power shell script in Azure 我正在尝试将本地电源shell用作云电源Z2591C98B70119FE624898B1E424B54B5E9111111111111C98B7011C98B70198B70198B701598B7254B1598B4B4BB724B154B4B4BB798B14B14B14B14B4BB14B14B4BB14B14B4BB14B14B4BB14B14B14B14B14B14B14B14B14B14B11ER - i am trying to use local power shell as cloud power shell (azure power shell vs local power shell ) 电源 Shell 获取服务问题 - Power Shell Get Service Issue Azure Power Shell-如何更改网络子网 - Azure Power Shell - How to change network subnet Azure Power Shell虚拟机创建问题 - Azure power shell Virtual machine creation issue NET项目中的Azure Power Shell cmdlet dll - Azure power shell cmdlet dll in .net project 无法在 Azure 电源 Shell 中输入密码 - Cannot type password in Azure Power Shell 如何获取使用Power Shell访问Azure数据湖存储的用户列表 - How to get the list of users accessing the Azure data lake store with power shell 访问 Azure Cosmos DB 时未经授权的访问以使用 Power shell 中的 Query 获取特定文档 - Unauthorized access while accessing Azure Cosmos DB to get specific document using Query in power shell 有没有办法通过电源 shell 或 ARM 模板获取 Azure 存储同步服务中注册服务器的服务器 ID? - Is there a way to get the server ID of the registered server in an Azure storage sync service through power shell or ARM template?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM