{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/20461","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/20461/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/20461/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/20461/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/20461","id":389820779,"node_id":"MDU6SXNzdWUzODk4MjA3Nzk=","number":20461,"title":"One asset with multiple policies","user":{"login":"farooqkh","id":33755477,"node_id":"MDQ6VXNlcjMzNzU1NDc3","avatar_url":"https://avatars0.githubusercontent.com/u/33755477?v=4","gravatar_id":"","url":"https://api.github.com/users/farooqkh","html_url":"https://github.com/farooqkh","followers_url":"https://api.github.com/users/farooqkh/followers","following_url":"https://api.github.com/users/farooqkh/following{/other_user}","gists_url":"https://api.github.com/users/farooqkh/gists{/gist_id}","starred_url":"https://api.github.com/users/farooqkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farooqkh/subscriptions","organizations_url":"https://api.github.com/users/farooqkh/orgs","repos_url":"https://api.github.com/users/farooqkh/repos","events_url":"https://api.github.com/users/farooqkh/events{/privacy}","received_events_url":"https://api.github.com/users/farooqkh/received_events","type":"User","site_admin":false},"labels":[{"id":836703193,"node_id":"MDU6TGFiZWw4MzY3MDMxOTM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"node_id":"MDU6TGFiZWw4MzY3MDMzMDg=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":646539262,"node_id":"MDU6TGFiZWw2NDY1MzkyNjI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/media-services/svc","name":"media-services/svc","color":"90ee90","default":false},{"id":853283851,"node_id":"MDU6TGFiZWw4NTMyODM4NTE=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"BryanTrach-MSFT","id":20250350,"node_id":"MDQ6VXNlcjIwMjUwMzUw","avatar_url":"https://avatars3.githubusercontent.com/u/20250350?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanTrach-MSFT","html_url":"https://github.com/BryanTrach-MSFT","followers_url":"https://api.github.com/users/BryanTrach-MSFT/followers","following_url":"https://api.github.com/users/BryanTrach-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/BryanTrach-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanTrach-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanTrach-MSFT/subscriptions","organizations_url":"https://api.github.com/users/BryanTrach-MSFT/orgs","repos_url":"https://api.github.com/users/BryanTrach-MSFT/repos","events_url":"https://api.github.com/users/BryanTrach-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/BryanTrach-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"BryanTrach-MSFT","id":20250350,"node_id":"MDQ6VXNlcjIwMjUwMzUw","avatar_url":"https://avatars3.githubusercontent.com/u/20250350?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanTrach-MSFT","html_url":"https://github.com/BryanTrach-MSFT","followers_url":"https://api.github.com/users/BryanTrach-MSFT/followers","following_url":"https://api.github.com/users/BryanTrach-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/BryanTrach-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanTrach-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanTrach-MSFT/subscriptions","organizations_url":"https://api.github.com/users/BryanTrach-MSFT/orgs","repos_url":"https://api.github.com/users/BryanTrach-MSFT/repos","events_url":"https://api.github.com/users/BryanTrach-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/BryanTrach-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-12-11T15:33:58Z","updated_at":"2018-12-15T02:50:56Z","closed_at":"2018-12-15T02:50:57Z","author_association":"NONE","body":"I have a scenario where i would like to have 1 asset with different set of policies for different set of people. Is that something possible and what'll be high level design for something like this? \n\nFrom what I have gathered so far ContentKey has one-to-one relation with AuthorizationPolicy, which means I can have only 1 set of AuthorizationPolicy applied to an Asset at a given time. And even though I could add multiple ContentKeys to asset but when I try doing that it throws following error…\n\n    &lt;m:message xml:lang=\"en-US\"&gt;Asset is linked to Asset Delivery Policy with type DynamicCommonEncryption. This link must be removed before content key with id 9a2ee11b-7c51-4d4f-829a-b474a9067514 and type CommonEncryption can be linked.&lt;/m:message&gt;\n\nIs there any other way to accomplish what i'm trying to do? Thanks and looking forward for help.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 54ef7a50-30e3-aeca-b4c6-52829e1f8cc8\n* Version Independent ID: 6c14f268-fbba-7679-44f5-3f0ce0fc6e0f\n* Content: [Protect your content with Azure Media Services](https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-content-protection-overview)\n* Content Source: [articles/media-services/previous/media-services-content-protection-overview.md](https://github.com/Microsoft/azure-docs/blob/master/articles/media-services/previous/media-services-content-protection-overview.md)\n* Service: **media-services**\n* GitHub Login: @Juliako\n* Microsoft Alias: **juliako**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/447531423","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/20461#issuecomment-447531423","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/20461","id":447531423,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzUzMTQyMw==","user":{"login":"BryanTrach-MSFT","id":20250350,"node_id":"MDQ6VXNlcjIwMjUwMzUw","avatar_url":"https://avatars3.githubusercontent.com/u/20250350?v=4","gravatar_id":"","url":"https://api.github.com/users/BryanTrach-MSFT","html_url":"https://github.com/BryanTrach-MSFT","followers_url":"https://api.github.com/users/BryanTrach-MSFT/followers","following_url":"https://api.github.com/users/BryanTrach-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/BryanTrach-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanTrach-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanTrach-MSFT/subscriptions","organizations_url":"https://api.github.com/users/BryanTrach-MSFT/orgs","repos_url":"https://api.github.com/users/BryanTrach-MSFT/repos","events_url":"https://api.github.com/users/BryanTrach-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/BryanTrach-MSFT/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T02:50:56Z","updated_at":"2018-12-15T02:50:56Z","author_association":"MEMBER","body":"@farooqkh In the new Azure Media Services v3 API, the entity relationship have been rearranged to enable new scenarios. One of the things we changed was to move the Content Key, StreamingPolicy (formerly Asset Delivery Policy), and ContentKeyPolicy (formerly Content Key Authorization Policy) to be associated with the StreamingLocator.  Thus you can now create multiple StreamingLocators per Asset with different Content Keys and different policies if you like.  That could include different TokenRestriction settings if you want to authorize different groups of users or different DRM policies.\r\n\r\n[This doc](https://docs.microsoft.com/en-us/azure/media-services/latest/migrate-from-v2-to-v3) describes the differences between the APIs and some feature gaps for things that haven’t been implemented in v3 yet.\r\n\r\nWe will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.Hope that helps,"}}
{"actor":{"display_login":"BryanTrach-MSFT"}}