[英]Use Windows Azure CLI without publishsettings file?
Is it possible to configure the Windows Azure CLI tools without using a .publishsettings file? 是否可以在不使用.publishsettings文件的情况下配置Windows Azure CLI工具? The 'azure account -h' command lists only options for downloading and importing a .publishsettings file.
'azure account -h'命令仅列出用于下载和导入.publishsettings文件的选项。
据我所知,这是很遗憾的,因为在PowerShell中可能(使用Set-AzureSubscription
)
The current Version - Azure CLI 2 - can do that without any problems. 当前版本(Azure CLI 2)可以做到这一点而没有任何问题。 You have to use
az login
to provide your credentials and the you can use the cli, switching accounts etc. 您必须使用
az login
来提供您的凭据,并且您可以使用cli,切换帐户等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.