HDinsight 系列-使用证书登陆中国区Azure
2017-08-15 16:44
716 查看
使用azure explorer 插件的时候,登陆默认是globle的azure网站,中国区的azure不能直接使用
可以使用auth文件认证
根据上述脚本获取相关信息
然后按下面格式拼接起来
可以使用auth文件认证
auth 文件生成
az cloud show -o json --query "{managementURI: endpoints.management, baseURL: endpoints.resourceManager, authURL: endpoints.activeDirectory, graphURL: endpoints.activeDirectoryGraphResourceId}"
az account show -o json --query "{subscription: id}"
az ad sp create-for-rbac -o json --query "{client: appId, key: password, tenant: tenant}"
根据上述脚本获取相关信息
然后按下面格式拼接起来
client= key= tenant= subscription= authURL=https\://login.chinacloudapi.cn/ baseURL=https\://management.chinacloudapi.cn/ graphURL=https\://graph.chinacloudapi.cn/ managementURI=https\://management.core.chinacloudapi.cn/
相关文章推荐
- Azure HDInsight 现已在中国正式发布
- Azure HDInsight 现已在中国正式发布
- Azure HDInsight 现已在中国正式发布
- 在Azure HDInsight HBase集群中使用Thrift接口
- 在 Azure HDInsight 中安装和使用 Spark
- 在Azure HDInsight HBase集群中使用Thrift接口
- 在Azure HDInsight HBase集群中使用Thrift接口
- 在Azure HDInsight HBase集群中使用Thrift接口
- C#码农的大数据之路 - 使用Azure Management API创建HDInsight集群
- Azure HDInsight 现已在中国正式发布
- 当前Azure中国可使用的虚拟机的Size列表
- Azure服务将开始使用WoSign作为HTTPS(超文本传输安全协议)端根证书
- Azure HDInsight与Hadoop周边系统集成
- 使用 HDInsight进行开发
- linux使用证书ssh登陆
- Windows AD证书服务系列---证书的使用范围(1)
- Azure PowerShell 1.0.0以上版本在中国Azure使用的注意事项
- 转载-解决使用httpClient 4.3.x登陆 https时的证书报错问题
- [Azure] 使用azure cli 2.0 利用Key Vault创建自签名证书导入nginx