问题描述
实际上,我正在尝试使用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.
请参见 Azure门户网站.
这篇关于在哪里可以找到订阅ID,客户ID,机密和租户ID的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!