diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.json index bad1dd6fb8c4..82efa3abc807 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.json @@ -17,6 +17,7 @@ "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": false, + "certificate": "############################", "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-01-01/examples/DPSGetCertificate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificate.json index c477bfea1fa6..f041d8b0cde4 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificate.json @@ -14,6 +14,7 @@ "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": false, + "certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47", "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-01-01/examples/DPSGetCertificates.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificates.json index 9f307d6e87a9..dce05a510c23 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificates.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificates.json @@ -15,6 +15,7 @@ "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": false, + "certificate": "#############", "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-01-01/examples/DPSVerifyCertificate.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSVerifyCertificate.json index 92fd1b91fbf6..305c1e5e8b9d 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSVerifyCertificate.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSVerifyCertificate.json @@ -7,7 +7,7 @@ "certificateName": "cert", "If-Match": "AAAAAAAADGk=", "request": { - "certificate": "#####################################" + "certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47" } }, "responses": { @@ -16,6 +16,7 @@ "properties": { "subject": "CN=andbucdevice1", "expiry": "Sat, 31 Dec 2039 23:59:59 GMT", + "certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47", "thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", "isVerified": true, "created": "Thu, 12 Oct 2017 19:23:50 GMT", diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json index 70ea10d42a16..39f23025048a 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json @@ -1418,6 +1418,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",