Data Source: azurerm_key_vault_certificate

Use this data source to access information about an existing Key Vault Certificate.

Example Usage

data "azurerm_key_vault" "example" {
  name                = "examplekv"
  resource_group_name = "some-resource-group"
}

data "azurerm_key_vault_certificate" "example" {
  name         = "secret-sauce"
  key_vault_id = data.azurerm_key_vault.example.id
}

output "certificate_thumbprint" {
  value = data.azurerm_key_vault_certificate.example.thumbprint
}

Argument Reference

The following arguments are supported:

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

Attributes Reference

The following attributes are exported:


certificate_policy exports the following:


issuer_parameters exports the following:


key_properties exports the following:


lifetime_action exports the following:


action exports the following:


trigger exports the following:


secret_properties exports the following:


x509_certificate_properties exports the following:


subject_alternative_names exports the following:

Timeouts

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