certificate_versions
Creates, updates, deletes, gets or lists a certificate_versions resource.
Overview
| Name | certificate_versions |
| Type | Resource |
| Id | azure.key_vault_certificates.certificate_versions |
Fields
The following fields are returned by SELECT queries:
- get_certificate_versions
| Name | Datatype | Description |
|---|---|---|
id | string | Certificate identifier. |
attributes | object | The certificate management attributes. |
tags | object | Application specific metadata in the form of key-value pairs. |
x5t | string (byte) | Thumbprint of the certificate. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_certificate_versions | select | certificate_name, vault_name | maxresults | List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
certificate_name | string | The name of the certificate. Required. |
vault_name | string | Key vault name. (default: ) |
maxresults | integer | Maximum number of results to return in a page. If not specified the service will return up to 25 results. Default value is None. |
SELECT examples
- get_certificate_versions
List the versions of a certificate. The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
SELECT
id,
attributes,
tags,
x5t
FROM azure.key_vault_certificates.certificate_versions
WHERE certificate_name = '{{ certificate_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND maxresults = '{{ maxresults }}'
;