Get smart card diversified admin key
Gets the diversified admin key for the specified smart card.
Important
The admin key should be diversified only when the profile template policy indicates that it should be.
Note
The URLs in this article are relative to the hostname that's chosen during API deployment, such as https://api.contoso.com
.
Method | Request URL |
---|---|
GET | /CertificateManagement/api/v1.0/requests/{reqid}/smartcards/{scid}/diversifiedkey |
Parameter | Description |
---|---|
reqid | Required. The request identifier that's specific to Microsoft Identity Manager (MIM) Certificate Management (CM). |
scid | Required. The smart card identifier that's specific to MIM CM. The scid is obtained from the Microsoft.Clm.Shared.Smartcards.Smartcard object. |
Parameter | Description |
---|---|
atr | Optional. The smart card answer-to-reset (ATR) string. |
cardid | Required. The card ID. |
For common request headers, see HTTP request and response headers in CM REST API service details.
None.
This section describes the response.
Code | Description |
---|---|
200 | OK |
204 | No content |
403 | Forbidden |
500 | Internal Error |
For common response headers, see HTTP request and response headers in CM REST API service details.
On success, returns a byte BLOB representing the diversified admin key.
This section provides an example to get the diversified admin key for a smart card.
GET /certificatemanagement/api/v1.0/requests/a9b4b42c-cc50-4c9b-89d1-bbc0bcd5a099/smartcards/17cf063d-e337-4aa9-a822-346554ddd3c9/diversifiedkey?cardid=bc88f13f-83ba-4037-8262-46eba1291c6e HTTP/1.1
HTTP/1.1 200 OK
"mBVA+HopB/gc+6FuKsQqx+OX01hK1WQI"