Class ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder
java.lang.Object
org.springframework.vault.authentication.ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder
- Enclosing class:
- ClientCertificateAuthenticationOptions
public static class ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder
extends Object
Builder for
ClientCertificateAuthenticationOptions
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a newClientCertificateAuthenticationOptions
instance.Configure the mount path, defaults to azure.Configure the named certificate role to authenticate against.
-
Method Details
-
path
public ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder path(String path) Configure the mount path, defaults to azure.- Parameters:
path
- must not be empty or null.- Returns:
this
ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder
.
-
role
public ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder role(String name) Configure the named certificate role to authenticate against.- Parameters:
name
- must not be empty or null.- Returns:
this
ClientCertificateAuthenticationOptions.ClientCertificateAuthenticationOptionsBuilder
.- Since:
- 2.3.4
-
build
Build a newClientCertificateAuthenticationOptions
instance.- Returns:
- a new
ClientCertificateAuthenticationOptions
.
-