Skip to content

ServicePrincipal

Azure Service Principal

resource "azure_subscription" "name" {
service_principal "name" {
...
}
}
Attribute Description
Name name required


type: string
The name of the service principal.
service_principal "name" {
...
}
Roles roles

type: []string
The roles that will be assigned to the service principal.
roles = ["Owner"]
ServicePrincipalID service_principal_id

type: string
Output parameters
AppID app_id

type: string
Password password

type: string

These attributes are computed when the config is parsed and applied, and are therefore only known at parsetime or runtime.

Attribute Description