Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.21 KB

service_principal.html.markdown

File metadata and controls

46 lines (29 loc) · 1.21 KB
layout page_title description
azuredevops
AzureDevops: Data Source: azuredevops_service_principal
Gets information about an existing Service Principal.

Data Source: azuredevops_service_principal

Use this data source to access information about an existing Service Principal.

Example Usage

data "azuredevops_service_principal" "example" {
  display_name = "existing"
}

output "id" {
  value = data.azuredevops_service_principal.example.id
}

Arguments Reference

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.

Attributes Reference

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..

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 30 minutes) Used when retrieving the Service Principal.