AEM Assets · updated
How do asset expiry and licence agreements (DRM) work in AEM Assets?
AEM Assets has two rights controls. Expiry: when an asset passes its expiry date it is unpublished automatically, and users without administrator permissions can no longer edit, copy, move, publish or download it. Licence agreements: an asset marked as protected cannot be downloaded until the user accepts its licence. An asset is protected when its metadata points to a licence page or holds the licence text.
In plain words
A stock photo is often licensed for a year. After that, using it is a breach. Expiry lets you put that end date on the asset so the system takes it down for you. A licence agreement is the other half: before someone downloads a restricted file, they see the terms and have to agree.
Where expiry shows
| Place | What you see |
|---|---|
| Card view | A flag on the card of an expired asset |
| List view | An 'Expired' banner in the Status column |
| Timeline | The expiry status of the selected asset |
| References rail | 'Asset is Expired', or 'Asset has Expired Sub-Assets' for a compound asset |
| Search | The Expiry Status filter, with the option Expired |
What makes an asset protected
- The metadata property xmpRights:WebStatement points to the path of the page that holds the licence agreement, or
- The metadata property adobe_dam:restrictions holds the licence agreement as raw HTML.
Adobe says the old location /etc/dam/drm/licences is deprecated and recommends storing licence pages under /apps/settings/dam/drm/licenses or /conf/*/settings/dam/drm/licenses.
The expiry scheduler
A scheduled job detects expired assets and the compound assets that reference them. A compound asset shows as expired only after the job has next run. On Cloud Service the job is configured with an OSGi configuration file committed to the Cloud Manager Git repository. Adobe's example runs the job at midnight, handles up to 100 expired assets per run, and can email the person who uploaded the asset.
- cq.dam.expiry.notification.scheduler.istimebased: true runs the job at the time in the timebased rule; false runs it every so many seconds, set in the period rule.
- asset_expired_limit: the most assets expired in one run.
- send_email: true emails the asset's creator when it expires.
com.day.cq.dam.core.impl.ExpiryNotificationJobImpl.cfg.json (Adobe's example)
{
"send_email":"false",
"asset_expired_limit":"100",
"prior_notification_seconds":"86400",
"cq.dam.expiry.notification.url.protocol":"http",
"cq.dam.expiry.notification.scheduler.istimebased":"true",
"cq.dam.expiry.notification.scheduler.period.rule":"10",
"cq.dam.expiry.notification.scheduler.timebased.rule":"0 0 0 * * ?"
}How to set it up
- Agree which assets have an end date and which need a licence shown before download.
- Set the expiry date on each licensed asset.
- Commit the expiry job configuration to your Cloud Manager repository and deploy it through the pipeline.
- Create licence pages under /apps/settings/dam/drm/licenses or /conf/*/settings/dam/drm/licenses.
- On each protected asset, point xmpRights:WebStatement at its licence page.
- Test as a non-administrator: an expired asset should be locked, and a protected asset should show the licence before Download is enabled.
Related tools and pages on this site
- Dynamic Media delivery URL builder (free, runs in your browser)
- Workfront and AEM Assets: how the integration works
Questions
What can a normal user do with an expired asset?
Adobe says a user without administrator permissions cannot edit, copy, move, publish or download an expired asset.
Is an expired asset removed from the website?
Adobe says the expiry information ensures the published asset is automatically unpublished when it expires.
Can I accept licences for several assets at once?
Yes, in the download dialog's licence pane: select the protected assets in the list and choose Agree. Download is enabled once the agreements are accepted.
Why does a compound asset not show as expired yet?
It appears as expired only after the scheduler has next run and detected the expired sub-asset.
Sources
- Adobe: Digital Rights Management for assets (expiry and licence agreements) (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.