Enrollment Group - Get Attestation Mechanism
Get the attestation mechanism in the device enrollment group record.
POST https://your-dps.azure-devices-provisioning.net/enrollmentGroups/{id}/attestationmechanism?api-version=2021-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
string |
Enrollment group ID |
api-version
|
query | True |
string |
The API version to use for the request. Supported versions include: 2021-10-01 |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
Error response Headers x-ms-error-code: string |
Definitions
Name | Description |
---|---|
Attestation |
Attestation mechanism for individualEnrollment as well as enrollmentGroup. |
Provisioning |
Contains the properties of an error returned by the Azure IoT Hub Provisioning Service. |
Symmetric |
Attestation via SymmetricKey. |
Tpm |
Attestation via TPM. |
X509Attestation |
Attestation via X509. |
X509CAReferences |
Primary and secondary CA references. |
X509Certificate |
X509 certificate info. |
X509Certificates |
Primary and secondary certificates |
X509Certificate |
Certificate and Certificate info |
AttestationMechanism
Attestation mechanism for individualEnrollment as well as enrollmentGroup.
Name | Type | Description |
---|---|---|
symmetricKey |
Attestation via SymmetricKey. |
|
tpm |
Attestation via TPM. |
|
type |
enum:
|
Attestation Type. |
x509 |
Attestation via X509. |
ProvisioningServiceErrorDetails
Contains the properties of an error returned by the Azure IoT Hub Provisioning Service.
Name | Type | Description |
---|---|---|
errorCode |
integer |
|
info |
object |
|
message |
string |
|
timestampUtc |
string |
|
trackingId |
string |
SymmetricKeyAttestation
Attestation via SymmetricKey.
Name | Type | Description |
---|---|---|
primaryKey |
string |
Primary symmetric key. |
secondaryKey |
string |
Secondary symmetric key. |
TpmAttestation
Attestation via TPM.
Name | Type | Description |
---|---|---|
endorsementKey |
string |
|
storageRootKey |
string |
X509Attestation
Attestation via X509.
Name | Type | Description |
---|---|---|
caReferences |
Primary and secondary CA references. |
|
clientCertificates |
Primary and secondary certificates |
|
signingCertificates |
Primary and secondary certificates |
X509CAReferences
Primary and secondary CA references.
Name | Type | Description |
---|---|---|
primary |
string |
|
secondary |
string |
X509CertificateInfo
X509 certificate info.
Name | Type | Description |
---|---|---|
issuerName |
string |
|
notAfterUtc |
string |
|
notBeforeUtc |
string |
|
serialNumber |
string |
|
sha1Thumbprint |
string |
|
sha256Thumbprint |
string |
|
subjectName |
string |
|
version |
integer |
X509Certificates
Primary and secondary certificates
Name | Type | Description |
---|---|---|
primary |
Certificate and Certificate info |
|
secondary |
Certificate and Certificate info |
X509CertificateWithInfo
Certificate and Certificate info
Name | Type | Description |
---|---|---|
certificate |
string |
|
info |
X509 certificate info. |