Skip to main content

certificates

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

Overview

Namecertificates
TypeResource
Idazure.sphere.certificates

Fields

NameDatatypeDescription
catalogNametextfield from the properties object
certificatetextfield from the properties object
expiry_utctextfield from the properties object
not_before_utctextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
serialNumbertextfield from the properties object
statustextfield from the properties object
subjecttextfield from the properties object
subscriptionIdtextfield from the properties object
thumbprinttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcatalogName, resourceGroupName, serialNumber, subscriptionIdGet a Certificate
list_by_catalogSELECTcatalogName, resourceGroupName, subscriptionIdList Certificate resources by Catalog
retrieve_cert_chainEXECcatalogName, resourceGroupName, serialNumber, subscriptionIdRetrieves cert chain.
retrieve_proof_of_possession_nonceEXECcatalogName, resourceGroupName, serialNumber, subscriptionId, data__proofOfPossessionNonceGets the proof of possession nonce.

SELECT examples

List Certificate resources by Catalog

SELECT
catalogName,
certificate,
expiry_utc,
not_before_utc,
provisioning_state,
resourceGroupName,
serialNumber,
status,
subject,
subscriptionId,
thumbprint
FROM azure.sphere.vw_certificates
WHERE catalogName = '{{ catalogName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';