Microsoft.Devices IotHubs/certificates template reference

Template format

To create a Microsoft.Devices/IotHubs/certificates resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Devices/IotHubs/certificates",
  "apiVersion": "2019-11-04",
  "certificate": "string"
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Devices/IotHubs/certificates object

Name Type Required Value
name string Yes The name of the certificate
type enum Yes certificates
-or-
Microsoft.Devices/IotHubs/certificates

See Set name and type for child resources.
apiVersion enum Yes 2019-11-04
certificate string No base-64 representation of the X509 leaf certificate .cer file or just .pem file content.