My configuration reads a certificate from a file.
This is a straightforward way:
in { devicesCa = "${/path/to/cert/ca.crt as Text}" }
I haven't found a way of passing /path/to/cert/ca.crt
as a parameter. For instance:
let path = "/path/to/cert/ca.crt"
in { devicesCa = "${${path} as Text}" }
Is it possible to do? If not, what known workarounds are?