POST
Get a shared access policy by name from a provisioning service.
List primary and secondary keys for a specific key name
post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/keys/{keyName}/listkeys
Path parameters
provisioningServiceNamestring required
Name of the provisioning service.
keyNamestring required
Logical key name to get key-values for.
subscriptionIdstring required
The subscription identifier.
resourceGroupNamestring required
The name of the resource group that contains the provisioning service.
Query parameters
api-versionstring required
The version of the API.
Response
This is a synchronous operation. The body contains a JSON-serialized shared access policy, including keys, that you can use to access one or more provisioning service endpoints.