Experienced
If credentials in a ziti context config are explicitly set, they are lost.
Expected
Credentials are used if set. If not set, default to checking for an identity config.
Reproduction
- Create some credentials
certCreds := &edgeapis.CertCredentials{...}
- Set them on a ztx config:
ziti.Conf{Credentials: certCreds}
- Attempt to authenticate
ztx.Authenticate()