PyKMIP icon indicating copy to clipboard operation
PyKMIP copied to clipboard

Feature request: registering managed Template objects

Open randombit opened this issue 8 years ago • 1 comments

In KMIP it is possible to register a Template object as a distinct managed object, then request it by name as part of creating a new object using the names parameter of the Template Attribute list. Then all attributes in the registered Template are included as if they were part of the request itself.

I see PyKMIP has support for reading/writing names in the TemplateAttribute type. So I think it is possible already to request a template be used in a create/rekey/etc call. But it is not (afaict) possible to register a new named template. Is there any possibility to add this? I tried looking around to see what is required, I see I need to derive new type from ManagedObject but shortly after that I kind of ran aground as I'm not sure how everything fits together.

randombit avatar Apr 19 '18 17:04 randombit

@randombit I'll dig into it and figure out what the current gap is. It's been a while since we looked at Template support specifically.

Also, just an FYI, Template objects are deprecated in the newer KMIP specifications and are going to be completely removed in the upcoming KMIP 2.0 spec.

PeterHamilton avatar Apr 19 '18 18:04 PeterHamilton