Purge secret and id keys