» Data Source: azurerm_app_service_certificate

Use this data source to access information about an App Service certificate.

» Example Usage

data "azurerm_app_service_certificate" "example" {
  name                = "example-app-service-certificate"
  resource_group_name = "example-rg"
}

output "app_service_certificate_id" {
  value = "${data.azurerm_app_service_certificate.example.id}"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the certificate.

  • resource_group_name - (Required) The name of the resource group in which to create the certificate.

» Attributes Reference

The following attributes are exported:

  • id - The App Service certificate ID.

  • friendly_name - The friendly name of the certificate.

  • subject_name - The subject name of the certificate.

  • host_names - List of host names the certificate applies to.

  • issuer - The name of the certificate issuer.

  • issue_date - The issue date for the certificate.

  • expiration_date - The expiration date for the certificate.

  • thumbprint - The thumbprint for the certificate.