diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json index 558f5c35e5b2..533f16904bf7 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSCertificateCreateOrUpdate.json @@ -15,6 +15,7 @@ "properties": { "subject": "CN=testdevice1", "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", + "certificate": "############################################", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": false, "created": "Thu, 12 Oct 2017 19:23:50 GMT", diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json index 46046c8661fa..05954bec44c0 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGenerateVerificationCode.json @@ -16,6 +16,7 @@ "subject": "CN=andbucdevice1", "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", "thumbprint": "##############################", + "certificate": "###########################", "isVerified": false, "created": "Thu, 12 Oct 2017 19:23:50 GMT", "updated": "Thu, 12 Oct 2017 19:26:56 GMT" diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json index 4eefdca87ec7..6d42d08b748d 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSGetCertificate.json @@ -13,6 +13,7 @@ "subject": "CN=testdevice1", "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", + "certificate": "######################################", "isVerified": false, "created": "Thu, 12 Oct 2017 19:23:50 GMT", "updated": "Thu, 12 Oct 2017 19:23:50 GMT" diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json index 9fc26b15c818..0f919df7d2dd 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/examples/DPSVerifyCertificate.json @@ -16,6 +16,7 @@ "properties": { "subject": "CN=andbucdevice1", "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", + "certificate": "#####################################", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": true, "created": "Thu, 12 Oct 2017 19:23:50 GMT", diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json index 410067ac2fe2..fe66db3dceb7 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-03-01/iotdps.json @@ -1716,6 +1716,12 @@ "type": "boolean", "readOnly": true }, + "certificate": { + "description": "base-64 representation of X509 certificate .cer file or just .pem file content.", + "type": "string", + "format": "byte", + "readOnly": true + }, "created": { "description": "The certificate's creation date and time.", "type": "string", @@ -2440,6 +2446,11 @@ "type": "boolean", "description": "Indicate if the certificate is verified by owner of private key." }, + "certificate": { + "description": "base-64 representation of X509 certificate .cer file or just .pem file content.", + "type": "string", + "format": "byte" + }, "created": { "type": "string", "description": "Certificate created time."