@staticmethod
    def create_credentials(path):
        # Create CA and client key pairs
        ca = RootCredential.initialize(path, b"CA")
        ca_file = path.child(AUTHORITY_CERTIFICATE_FILENAME)
        NodeCredential.initialize(path, ca, uuid='client')
        # Files must have specific names in the pkipath directory
        ca_file.moveTo(path.child('cacert.pem'))
        path.child('client.key').moveTo(path.child('clientkey.pem'))
        path.child('client.crt').moveTo(path.child('clientcert.pem'))
Reset which devices are home.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/functional/test_cinder.py/VirtIOClient.create_credentials--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/config/custom_components/device_tracker/test.py/MockScanner.reset