» Data Source: azurestack_client_config
Use this data source to access the configuration of the Azure Stack provider.
» Example Usage
data "azurestack_client_config" "current" {}
output "account_id" {
value = "${data.azurestack_client_config.current.service_principal_application_id}"
}
» Argument Reference
There are no arguments available for this data source.
» Attributes Reference
-
client_idis set to the Azure Client ID (Application Object ID). -
tenant_idis set to the Azure Tenant ID. -
subscription_idis set to the Azure Subscription ID. -
service_principal_application_idis the Service Principal Application ID. -
service_principal_object_idis the Service Principal Object ID.
Note: To better understand "application" and "service principal", please read Application and service principal objects in Azure Active Directory.