-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #237 from vmware/feat/certificate-datasource
feat: add `d/certificate` datasource
- Loading branch information
Showing
8 changed files
with
540 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "vcf_certificate Data Source - terraform-provider-vcf" | ||
subcategory: "" | ||
description: |- | ||
Datasource used to extract certificate details based on fields `domain_id` and `resource_fqdn`. | ||
--- | ||
|
||
# vcf_certificate (Data Source) | ||
|
||
Datasource used to extract certificate details based on fields `domain_id` and `resource_fqdn`. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `domain_id` (String) The ID of the domain to fetch certificates for. | ||
- `resource_fqdn` (String) the fqdn of resource certificate. | ||
|
||
### Read-Only | ||
|
||
- `certificate` (List of Object) List of certificates retrieved from the API. (see [below for nested schema](#nestedatt--certificate)) | ||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedatt--certificate"></a> | ||
### Nested Schema for `certificate` | ||
|
||
Read-Only: | ||
|
||
- `certificate_error` (String) | ||
- `domain` (String) | ||
- `expiration_status` (String) | ||
- `is_installed` (Boolean) | ||
- `issued_by` (String) | ||
- `issued_to` (String) | ||
- `key_size` (String) | ||
- `not_after` (String) | ||
- `not_before` (String) | ||
- `number_of_days_to_expire` (Number) | ||
- `pem_encoded` (String) | ||
- `public_key` (String) | ||
- `public_key_algorithm` (String) | ||
- `serial_number` (String) | ||
- `signature_algorithm` (String) | ||
- `subject` (String) | ||
- `subject_alternative_name` (List of String) | ||
- `subject_cn` (String) | ||
- `subject_country` (String) | ||
- `subject_locality` (String) | ||
- `subject_org` (String) | ||
- `subject_ou` (String) | ||
- `subject_st` (String) | ||
- `thumbprint` (String) | ||
- `thumbprint_algorithm` (String) | ||
- `version` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.