pycloudlib currently leverages a now undocumented lxd config feature user.meta-data to inject public-ssh-keys into every launched lxd instance to allow for SSH into the VM during boot in the absence of cloud-init.user-data.
Look to leverage cloud-init.vendor-data if possible, the caveat being that instance launches will have to take into account: