简体   繁体   English

使用Windows Azure CLI而没有publishsettings文件?

[英]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.

相关问题 Windows Azure Web角色PublishSettings文件的用途 - Windows Azure Web Role PublishSettings file purpose 导入publishsettings文件时,azure-cli返回错误 - azure-cli returns error when importing publishsettings file 无效的publishSettings文件,用于与Azure重新绑定 - Invalid publishSettings file for regestring with Azure 使用Azure publishsettings文件获取存储客户端凭据 - Getting storage client credentials with Azure publishsettings file Azure publishsettings文件无法使用Eclipse导入 - Azure publishsettings file Fails to Import Using Eclipse 如何下载Azure China Portal的publishsettings文件 - How to download publishsettings file for Azure China Portal 运行Powershell脚本而不添加publishsettings文件 - run powershell script without add publishsettings file 我在哪里可以在新的Azure门户中下载vNext的* .publishsettings文件? - Where can I download a *.publishsettings file for vNext in the new Azure portal? 无法为其他订阅下载 Azure PublishSettings 文件 - Can't download Azure PublishSettings file for another subscription 使用 Azure CLI 和 PublishSettings 将 Net Core 应用程序发布到 azurewebsites.net - Publish Net Core app to azurewebsites.net using Azure CLI with PublishSettings
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM