Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofallops committed Jun 11, 2020
1 parent cc561da commit 259074d
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions website/docs/d/key_vault_certificate.html.markdown
Expand Up @@ -16,9 +16,14 @@ Use this data source to access information about an existing Key Vault Certifica
## Example Usage

```hcl
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.existing.id
key_vault_id = data.azurerm_key_vault.example.id
}
output "certificate_thumbprint" {
Expand Down Expand Up @@ -56,35 +61,49 @@ The following attributes are exported:
* `secret_properties` - A `secret_properties` block as defined below.
* `x509_certificate_properties` - An `x509_certificate_properties` block as defined below.

---

`issuer_parameters` exports the following:

* `name` - The name of the Certificate Issuer.

---

`key_properties` exports the following:

* `exportable` - Is this Certificate Exportable?
* `key_size` - The size of the Key used in the Certificate.
* `key_type` - Specifies the Type of Key, for example `RSA`.
* `reuse_key` - Is the key reusable?

`lifetime_action` supports the following:
---

`lifetime_action` exports the following:

* `action` - A `action` block as defined below.
* `trigger` - A `trigger` block as defined below.

---

`action` supports the following:

* `action_type` - The Type of action to be performed when the lifetime trigger is triggerec.

---

`trigger` exports the following:

* `days_before_expiry` - The number of days before the Certificate expires that the action associated with this Trigger should run.
* `lifetime_percentage` - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.

---

`secret_properties` exports the following:

* `content_type` - The Content-Type of the Certificate, for example `application/x-pkcs12` for a PFX or `application/x-pem-file` for a PEM.

---

`x509_certificate_properties` exports the following:

* `extended_key_usage` - A list of Extended/Enhanced Key Usages.
Expand All @@ -93,6 +112,8 @@ The following attributes are exported:
* `subject_alternative_names` - A `subject_alternative_names` block as defined below.
* `validity_in_months` - The Certificates Validity Period in Months.

---

`subject_alternative_names` exports the following:

* `dns_names` - A list of alternative DNS names (FQDNs) identified by the Certificate.
Expand Down

0 comments on commit 259074d

Please sign in to comment.