Difference between revisions of "Service principal"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | * https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#service_principal | ||
+ | |||
+ | |||
+ | A service_principal block supports the following: | ||
+ | |||
+ | [[client_id]] - (Required) The Client ID for the Service Principal. | ||
+ | [[client_secret]] - (Required) The Client Secret for the Service Principal. | ||
+ | |||
[[Missing or invalid service principal when creating an AKS cluster]] | [[Missing or invalid service principal when creating an AKS cluster]] | ||
Line 5: | Line 13: | ||
[[managed_identity_principal_id]] | [[managed_identity_principal_id]] | ||
+ | export [[ARM_SUBSCRIPTION_ID]]="<[[azure_subscription_id]]>" | ||
+ | export [[ARM_TENANT_ID]]="<[[azure_subscription_tenant_id]]>" | ||
+ | export [[ARM_CLIENT_ID]]="<[[service_principal_appid]]>" | ||
+ | export [[ARM_CLIENT_SECRET]]="<[[service_principal_password]]>" | ||
+ | |||
+ | |||
+ | |||
+ | [[az ad sp list]] | ||
* [[az login]] | * [[az login]] | ||
+ | * [[ARM]] | ||
== See also == | == See also == | ||
* {{tf aks}} | * {{tf aks}} |
Latest revision as of 09:37, 16 July 2024
A service_principal block supports the following:
client_id - (Required) The Client ID for the Service Principal. client_secret - (Required) The Client Secret for the Service Principal.
Missing or invalid service principal when creating an AKS cluster
identity (Terraform AKS module) managed_identity_principal_id
export ARM_SUBSCRIPTION_ID="<azure_subscription_id>" export ARM_TENANT_ID="<azure_subscription_tenant_id>" export ARM_CLIENT_ID="<service_principal_appid>" export ARM_CLIENT_SECRET="<service_principal_password>"
az ad sp list
See also[edit]
Advertising: