libvault icon indicating copy to clipboard operation
libvault copied to clipboard

Unable to use Mutual TLS connection

Open kishorek-0507 opened this issue 10 months ago • 0 comments

we are trying to use latest 0.62.0 version library and needs some clarification on the usage of TLS connection. I don't see any example on the usage of creating a TlsStrategy . Basicallly when TLS is enabled certifcates shall be passed along with the role and secretId(which can be constructed using the AppRoleStrategy) Here we are not able to understand how to use the combination of both AppRoleStrategy and TlsStrategy objects in order to use a tls connection. If we just pass AppRoleStrategy object login is failing as mutual TLS is enabled at server. if we just pass TlsStrategy object then also it fails as roleId and secretId info is not present in TlsStrategy object. On a high level, Can you please clarify How to use the library when mutual tls is enabled.

kishorek-0507 avatar Mar 13 '25 17:03 kishorek-0507