So, imho - at least for running lpcraft locally - this should work already, via providing the SSH key as a value (in the secrets file) and using the `run` command or even better the `run-before` command to put the SSH key in the correct location. That is certainly only valid for a local run, and not very streamlined.
I wonder whether SSH-keys are the only way to install from a private Launchpad git repository, or maybe there is an easier way via an token? @cjwatson
As mentioned in the docs, via the `--secrets` command line option you can provide a file with key/value pairs for secrets.
https:/ /lpcraft. readthedocs. io/en/latest/ cli-interface. html#lpcraft- run-optional- arguments
So, imho - at least for running lpcraft locally - this should work already, via providing the SSH key as a value (in the secrets file) and using the `run` command or even better the `run-before` command to put the SSH key in the correct location. That is certainly only valid for a local run, and not very streamlined.
I wonder whether SSH-keys are the only way to install from a private Launchpad git repository, or maybe there is an easier way via an token? @cjwatson
And yes, we do use lxc.