Microsoft.Devices provisioningServices/certificates template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.Devices/provisioningServices/certificates",
  "apiVersion": "2017-11-15",
  "certificate": "string"
}

Property values

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

Microsoft.Devices/provisioningServices/certificates object

Name Type Required Value
name string Yes The name of the certificate create or update.
Max length: 256
type enum Yes certificates
-or-
Microsoft.Devices/provisioningServices/certificates

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