public class MtlsUtilsUtility class for mTLS related operations.
For internal use only.
Static Methods
getCertificatePath(EnvironmentProvider envProvider, PropertyProvider propProvider, String certConfigPathOverride)
public static String getCertificatePath(EnvironmentProvider envProvider, PropertyProvider propProvider, String certConfigPathOverride)Returns the path to the client certificate file specified by the loaded workload certificate configuration.
| Parameters | |
|---|---|
| Name | Description |
envProvider |
EnvironmentProvider |
propProvider |
PropertyProvider |
certConfigPathOverride |
String |
| Returns | |
|---|---|
| Type | Description |
String |
The path to the certificate file. |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
if the certificate configuration cannot be found or loaded. |