Skip to content

Commit 0b89901

Browse files
authored
Merge pull request #191273 from IngridAtMicrosoft/keypolicy
Content key policy
2 parents 559f884 + 8ed19b0 commit 0b89901

22 files changed

+393
-0
lines changed

articles/media-services/latest/TOC.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,20 @@
596596
displayName: monitoring, metrics, telemetry, logging, charts, charting, azure monitor, monitor, diagnostic, logs, logging
597597
- name: Protect content
598598
items:
599+
- name: Create a content key policy
600+
href: drm-create-content-key-policy-how-to.md
601+
- name: List content key policies
602+
href: drm-list-content-key-policy-how-to.md
603+
- name: Update a content key policy
604+
href: drm-update-content-key-policy-how-to.md
605+
- name: Delete a content key policy
606+
href: drm-delete-content-key-policy-how-to.md
607+
- name: Add an option to a content key policy
608+
href: drm-add-option-content-key-policy-how-to.md
609+
- name: Update an option in a content key policy
610+
href: drm-update-option-content-key-policy-how-to.md
611+
- name: Remove and option from a content key policy
612+
href: drm-remove-option-content-key-policy-how-to.md
599613
- name: Get content key policy
600614
href: drm-get-content-key-policy-how-to.md
601615
displayName: content protection, DRM, content keys, content key policy, .NET, how to, how-to, sample, tutorial,
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Add an option to a content key policy
3+
description: This article shows how to add an option to a content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Add an option to a content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to add an option to a content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-add-option-content-key-policy-cli.md)]
24+
25+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Create a content key policy
3+
description: This article shows how to create a content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Create a content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to create a content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-create-content-key-policy-cli.md)]
24+
25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-create-content-key-policy-rest.md)]
28+
29+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Delete a content key policy
3+
description: This article shows how to delete a content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Delete a content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to delete a content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-delete-content-key-policy-cli.md)]
24+
25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-delete-content-key-policy-rest.md)]
28+
29+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: List the content key policies
3+
description: This article shows how to list the content key policies.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# List the content key policies
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to list the content key policies.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-list-content-key-policy-cli.md)]
24+
25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-list-content-key-policy-rest.md)]
28+
29+
---
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Remove an option from a content key policy
3+
description: This article shows how to remove an option from a content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Remove an option from a content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to remove an option from a content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-remove-option-content-key-policy-cli.md)]
24+
25+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Show an existing content key policy
3+
description: This article shows how to show an existing content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Show an existing content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to show an existing content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-show-content-key-policy-cli.md)]
24+
25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-get-content-key-policy-rest.md)]
28+
29+
---
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Update an existing content key policy
3+
description: This article shows how to update an existing content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Update an existing content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to update an existing content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-update-content-key-policy-cli.md)]
24+
25+
## [REST](#tab/rest/)
26+
27+
[!INCLUDE [Create an asset with CLI](includes/task-update-content-key-policy-rest.md)]
28+
29+
---
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Update an option in a content key policy
3+
description: This article shows how to update an option in a content key policy.
4+
services: media-services
5+
author: IngridAtMicrosoft
6+
manager: femila
7+
ms.service: media-services
8+
ms.topic: how-to
9+
ms.date: 03/10/2022
10+
ms.author: inhenkel
11+
---
12+
13+
# Update an option in a content key policy
14+
15+
[!INCLUDE [media services api v3 logo](./includes/v3-hr.md)]
16+
17+
## Methods
18+
19+
Use the following methods to update an option in a content key policy.
20+
21+
## [CLI](#tab/cli/)
22+
23+
[!INCLUDE [Create an asset with CLI](includes/task-update-option-content-key-policy-cli.md)]
24+
25+
---
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: IngridAtMicrosoft
3+
ms.service: media-services
4+
ms.topic: include
5+
ms.date: 08/18/2020
6+
ms.author: inhenkel
7+
---
8+
9+
## Add an option to a content key policy
10+
11+
:::code language="azurecli" source="~/media-services-v3-python/cli/code-snippets.sh" id="AmsContentKeyPolicyOptionAdd" interactive="azurecli-interactive":::
12+
13+
For more information about this command, see the [CLI reference](/cli/azure/ams/content-key-policy/option?view=azure-cli-latest#az-ams-content-key-policy-option-add).

0 commit comments

Comments
 (0)