Class DefaultX509Source.X509SourceOptions

java.lang.Object
io.spiffe.workloadapi.DefaultX509Source.X509SourceOptions
Enclosing class:
DefaultX509Source

public static class DefaultX509Source.X509SourceOptions extends Object
Options for creating a new DefaultX509Source

spiffeSocketPath Address to the Workload API, if it is not set, the default address will be used.

initTimeout Timeout for initializing the instance. If it is not defined, the timeout is read from the System property `spiffe.newX509Source.timeout'. If this is also not defined, no default timeout is applied.

svidPicker Function to choose the X.509 SVID from the list returned by the Workload API. If it is not set, the default SVID is picked.

workloadApiClient A custom instance of a WorkloadApiClient, if it is not set, a new client will be created.