layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: Data Source: azuredevops_service_principal |
Gets information about an existing Service Principal. |
Use this data source to access information about an existing Service Principal.
data "azuredevops_service_principal" "example" {
display_name = "existing"
}
output "id" {
value = data.azuredevops_service_principal.example.id
}
The following arguments are supported:
display_name
- (Required) The Display Name of the Service Principal. Changing this forces a new Service Principal to be created.
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The ID of the Service Principal. -
descriptor
- The descriptor of the Service Principal. -
origin
- The origin of the Service Principal. -
origin_id
- The origin ID of the Service Principal..
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 30 minutes) Used when retrieving the Service Principal.