Add ClientCertificateAuthenticationOptions.
We now provide ClientCertificateAuthentication to configure the auth mount path. Closes gh-557.
This commit is contained in:
@@ -599,6 +599,10 @@ class AppConfig extends AbstractVaultConfiguration {
|
||||
|
||||
@Override
|
||||
public ClientAuthentication clientAuthentication() {
|
||||
|
||||
ClientCertificateAuthenticationOptions options = ClientCertificateAuthenticationOptions.builder()
|
||||
.path(…).build();
|
||||
|
||||
return new ClientCertificateAuthentication(options, restOperations());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user