Class MtlsUtils (1.46.0)

public class MtlsUtils

Utility class for mTLS related operations.

For internal use only.

Inheritance

java.lang.Object > MtlsUtils

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.