Show/Hide Toolbars

MongoDB Notes


PyKMIP is a Python implementation of the Key Management Interoperability Protocol (KMIP), a client/server communication protocol for the storage and maintenance of key, certificate, and secret objects. PyKMIP provides a Python client and server implementation of the KMIP 1.1 specification, supporting basic lifecycle operations for the primary KMIP object types.


Installation (Linux)


1.Enter this command to install PyKMIP:


sudo pip install PyKMIP==0.4.0


2.Run the server program shown below with this command:




Server Program




# this file is a thin wrapper around the PyKMIP server

# which is required for some encrypted storage engine tests


import logging


from import KMIPServer


def main():


    logger = logging.getLogger(__name__)


    server = KMIPServer(









        suppress_ragged_eofs=True)"Starting KMIP server")




    except Exception as e:'Exception received while serving: {0}'.format(e))


        server.close()"Stopping KMIP server")



if __name__ == '__main__':






PyKMIP Documentation