Implement key time and use expiration.