How do most teams handle the storage of passwords, in particular the required changes when team members leave ?

Right now, we use a centrally stored encrypted file but the thought of changing 100's of passwords when key employees leave is a bit overwhelming.