How to add expiry date to Entitlement

Hi,
Based on access request we have a usecase to create AD group and need to provision that AD group to user with expiry date in user identity cube from the access.
Access request contains: AD group name, expiry Date(30,90,180 days), user_identityName

It need to show expiry date in identity cube → Entitlements tab → Entitlement
Note : we already implement role expiry using sunrise/sunset functionality but we are looking for entitlement expiry

Can anyone suggest the approach for adding expiry date to entitlement.

Thanks,
Vinay