Streaming Locators - List Content Keys
List Content Keys used by this Streaming Locator
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys?api-version=2022-08-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The Media Services account name. |
resource
|
path | True |
string |
The name of the resource group within the Azure subscription. |
streaming
|
path | True |
string |
The Streaming Locator name. |
subscription
|
path | True |
string |
The unique identifier for a Microsoft Azure subscription. |
api-version
|
query | True |
string |
The version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Detailed error information. |
Examples
List Content Keys
Sample request
Sample response
{
"contentKeys": [
{
"id": "9259eb06-eeee-4f77-987f-48f4ea5c649f",
"type": "EnvelopeEncryption",
"labelReferenceInStreamingPolicy": "aesDefaultKey",
"value": "QpiqeQROdN5xamnfUF2Wdw==",
"policyName": "PolicyWithMultipleOptions",
"tracks": []
},
{
"id": "06bfeff1-2bb6-4f58-af27-a2767f058bca",
"type": "CommonEncryptionCenc",
"labelReferenceInStreamingPolicy": "cencDefaultKey",
"value": "ZjgWhNnqnqcov/h+wrYusw==",
"policyName": "PolicyWithMultipleOptions",
"tracks": []
},
{
"id": "799e78a0-ed6f-4179-9222-ed4ec4223cec",
"type": "CommonEncryptionCbcs",
"labelReferenceInStreamingPolicy": "cbcsDefaultKey",
"value": "FjZ3n3yRcVxRFftdYFbe9g==",
"policyName": "PolicyWithMultipleOptions",
"tracks": []
}
]
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
List |
Class of response for listContentKeys action |
Streaming |
Class for content key in Streaming Locator |
Streaming |
Encryption type of Content Key |
Track |
Track property condition operation |
Track |
Class to specify one track property condition |
Track |
Track property type |
Track |
Class to select a track |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ListContentKeysResponse
Class of response for listContentKeys action
Name | Type | Description |
---|---|---|
contentKeys |
ContentKeys used by current Streaming Locator |
StreamingLocatorContentKey
Class for content key in Streaming Locator
Name | Type | Description |
---|---|---|
id |
string |
ID of Content Key |
labelReferenceInStreamingPolicy |
string |
Label of Content Key as specified in the Streaming Policy |
policyName |
string |
ContentKeyPolicy used by Content Key |
tracks |
Tracks which use this Content Key |
|
type |
Encryption type of Content Key |
|
value |
string |
Value of Content Key |
StreamingLocatorContentKeyType
Encryption type of Content Key
Name | Type | Description |
---|---|---|
CommonEncryptionCbcs |
string |
Common Encryption using CBCS |
CommonEncryptionCenc |
string |
Common Encryption using CENC |
EnvelopeEncryption |
string |
Envelope Encryption |
TrackPropertyCompareOperation
Track property condition operation
Name | Type | Description |
---|---|---|
Equal |
string |
Equal operation |
Unknown |
string |
Unknown track property compare operation |
TrackPropertyCondition
Class to specify one track property condition
Name | Type | Description |
---|---|---|
operation |
Track property condition operation |
|
property |
Track property type |
|
value |
string |
Track property value |
TrackPropertyType
Track property type
Name | Type | Description |
---|---|---|
FourCC |
string |
Track FourCC |
Unknown |
string |
Unknown track property |
TrackSelection
Class to select a track
Name | Type | Description |
---|---|---|
trackSelections |
TrackSelections is a track property condition list which can specify track(s) |