If a key template is defined it should be possible to omit the key attribute. This is useful if the key template can create the whole key document.