Interesting..
I could think of a way of achieving this by accessing the PI system tables to check for the end date and having a scheduled daily job to send alert emails when the end date is near.
I doubt if anything standard or any API is available to access the key storage data.
Regards
Varun