在哪里可以找到订阅ID,客户ID,机密和租户ID的值? [英] Where to find the values to subscription id, client id, secret and tenant id?

查看:54
本文介绍了在哪里可以找到订阅ID,客户ID,机密和租户ID的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我正在尝试使用terraform在Azure中创建基础结构,因此我希望这些密钥可用于编程访问.

Actually I am trying to create an infrastructure in azure using terraform so I wanted these keys for programmatic access.

推荐答案

SubscriptionId TenantId 属于您的azure订阅,您可以直接从azure门户或从azure门户获取Powershell.

SubscriptionId and TenantId belongs to your azure subscription which you can either get from azure portal directly or from powershell.

ClientId Client Secret 与注册的应用程序相关,您将在其中向应用程序提供访问[角色]以为您执行某些功能.您可以将安全字符串密码转换为纯字符串,如下所示:

ClientId and Client Secret are related to the application registered where you will be providing access[role] to your application to perform certain functionality for you. You can convert the secure string password to plain string as below:

在将任何应用程序注册到Azure Active Directory中时,在创建应用程序后,即可获得所有详细信息-ClientId,机密,订阅ID和租户ID.

When you will register any application in your Azure Active Directory you can have all the details, after creating it- ClientId, Secret, Subscription Id and Tenant Id.

请参见 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆