Builds a SPIFFE ID from a trust domain and a path, supplying the path's leading slash when it is missing.
the trust domain name
the path, with or without its leading slash
the identifier
an Error when the result is not a valid SPIFFE ID
Builds a SPIFFE ID from a trust domain and a path, supplying the path's leading slash when it is missing.