you're aware that this doesn't work for credential caches that doesn't support deletions (like the mit FILE cred cache if i remember correctly).