Skip to main content

certificates

Overview

Namecertificates
TypeResource
Idazure.iot_hub.certificates

Fields

NameDatatypeDescription
idstringThe resource identifier.
namestringThe name of the certificate.
etagstringThe entity tag.
propertiesobjectThe description of an X509 CA Certificate.
typestringThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapi-version, certificateName, resourceGroupName, resourceName, subscriptionIdReturns the certificate.
list_by_iot_hubSELECTapi-version, resourceGroupName, resourceName, subscriptionIdReturns the list of certificates.
create_or_updateINSERTapi-version, certificateName, resourceGroupName, resourceName, subscriptionIdAdds new or replaces existing certificate.
deleteDELETEIf-Match, api-version, certificateName, resourceGroupName, resourceName, subscriptionIdDeletes an existing X509 certificate or does nothing if it does not exist.
_list_by_iot_hubEXECapi-version, resourceGroupName, resourceName, subscriptionIdReturns the list of certificates.
generate_verification_codeEXECIf-Match, api-version, certificateName, resourceGroupName, resourceName, subscriptionIdGenerates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.
verifyEXECIf-Match, api-version, certificateName, resourceGroupName, resourceName, subscriptionIdVerifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.