Support for protecting a generator with a key