When a new resource is created, it is necessary to specify how to connect with its device. These parameters depend on the type of connections and the necessary credentials. For this reason, OpenNaaS works with URIs to specify the connection params to access like this:
transport://user:password@ip:port/subsystem
ssh://myuser:mypassword@1.1.1.1:22/netconf
In case you're using key authentication instead of the user-password method, you don't need to specify the "password" parameter in the URI.
ssh://myuser@1.1.1.1:22/netconf
wonesys://1.1.1.1:27773/?mock=true