Azure Media Content Key Policy
This page shows how to write Terraform and Azure Resource Manager for Media Content Key Policy and write them securely.
azurerm_media_content_key_policy (Terraform)
The Content Key Policy in Media can be configured in Terraform with the resource name azurerm_media_content_key_policy
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
description
optional - string -
id
optional computed - string -
media_services_account_name
required - string -
name
required - string -
resource_group_name
required - string -
policy_option
set block-
clear_key_configuration_enabled
optional - bool -
name
required - string -
open_restriction_enabled
optional - bool -
widevine_configuration_template
optional - string -
fairplay_configuration
list block-
ask
optional - string -
pfx
optional - string -
pfx_password
optional - string -
rental_and_lease_key_type
optional - string -
rental_duration_seconds
optional - number -
offline_rental_configuration
list block-
playback_duration_seconds
optional - number -
storage_duration_seconds
optional - number
-
-
-
playready_configuration_license
list block-
allow_test_devices
optional - bool -
begin_date
optional - string -
content_key_location_from_header_enabled
optional - bool -
content_key_location_from_key_id
optional - string -
content_type
optional - string -
expiration_date
optional - string -
grace_period
optional - string -
license_type
optional - string -
relative_begin_date
optional - string -
relative_expiration_date
optional - string -
play_right
list block-
agc_and_color_stripe_restriction
optional - number -
allow_passing_video_content_to_unknown_output
optional - string -
analog_video_opl
optional - number -
compressed_digital_audio_opl
optional - number -
digital_video_only_content_restriction
optional - bool -
first_play_expiration
optional - string -
image_constraint_for_analog_component_video_restriction
optional - bool -
image_constraint_for_analog_computer_monitor_restriction
optional - bool -
scms_restriction
optional - number -
uncompressed_digital_audio_opl
optional - number -
uncompressed_digital_video_opl
optional - number
-
-
-
token_restriction
list block-
audience
optional - string -
issuer
optional - string -
open_id_connect_discovery_document
optional - string -
primary_rsa_token_key_exponent
optional - string -
primary_rsa_token_key_modulus
optional - string -
primary_symmetric_token_key
optional - string -
primary_x509_token_key_raw
optional - string -
token_type
optional - string -
required_claim
list block
-
-
-
timeouts
single block
Explanation in Terraform Registry
Manages a Content Key Policy.
Microsoft.Media/mediaservices/contentkeypolicies (Azure Resource Manager)
The mediaservices/contentkeypolicies in Microsoft.Media can be configured in Azure Resource Manager with the resource name Microsoft.Media/mediaservices/contentkeypolicies
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.