-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is not possible to use a real ASK to create a Content Key Policy for Media Services #10662
Comments
Thanks @kmorales90 for open this issue. Do you have any documentation about ASK? To check format and specifications please? |
sure @jcanizalez , check in microsoft documentation how "ASK" is handled in code https://docs.microsoft.com/en-us/azure/media-services/latest/fairplay-license-overview In section "FairPlay configuration .NET example":
|
Thanks @kmorales90 |
This has been released in version 2.49.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.49.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_media_content_key_policy
Terraform Configuration Files
Expected Behaviour
Run "Terraform Apply" should create content key policy. In terraform azurerm documentantion appears an example using ASK = "myKeyForFairPlay" I tried in that way and works fine, but the problem is that a real ASK provided by Apple follows a different structure bb566284cc124a21c435a92cd3c108c4 , is an hexadecimal value.
Note: because ASK is a secret I obfuscated it changing some values but leaving same structure
Actual Behaviour
Raise an error:
Error: creating/updating Content Key Policy: (Name "mypolicy" / Mediaservice Name "mediaservicesnew" / Resource Group "rgmediaservices"): media.ContentKeyPoliciesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="FairPlay configuration must have ASK. ASK must be 16 bytes."
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: