Skip to main content

certificate_versions

Creates, updates, deletes, gets or lists a certificate_versions resource.

Overview

Namecertificate_versions
TypeResource
Idazure.key_vault_certificates.certificate_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringCertificate identifier.
attributesobjectThe certificate management attributes.
tagsobjectApplication specific metadata in the form of key-value pairs.
x5tstring (byte)Thumbprint of the certificate.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_certificate_versionsselectcertificate_name, vault_namemaxresultsList 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.

NameDatatypeDescription
certificate_namestringThe name of the certificate. Required.
vault_namestringKey vault name. (default: )
maxresultsintegerMaximum 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

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 }}'
;