PyKMIP
PyKMIP copied to clipboard
Allow setting SSL password for client
This allows passing a password or callback to get the password for the client SSL key.
I added a new parameter key_password to the client, which can be specified either as argument in the code or in the configuration, as usual. This is passed through to SSLContext.load_cert_chain(). That way, the password can be specified as a string in the configuration file for simple uses, and for more complex uses, clients can pass a callback function into the client class.
See also #588.
Thoughts?