I am looking a little bit into the SDK part of OpenZiti and the enrollment part is not really clear to me.
In the various examples I have seen, it seems that we should enroll the jwt token externally to the application (i.e. with the ziti console) and then use the produced identity in the application.
My question is: Can we actually enroll from the application itself?
I looked into the Edge APIs, but I couldn't find something regarding this.
Maybe I missed it? Or is this intended? To have a single point of enrollment in ziti-cli.
I can understand how you'd get that impression. I think it's an artifact of trying to keep the code examples to a minimum as opposed to doing everything in code, maybe?