Is your feature request related to a problem? Please describe.
In one of my projects, the Vault configuration includes multiple certificates under the /cert path that share the same common name. During login, Vault randomly selects one of these certificates.
Describe the solution you'd like
I would like to explicitly specify which role should be used for the login to authenticate against only the named certificate role.
We can use the name parameter as described in Login with TLS certificate method
- Add
role field in VaultProperties.Ssl
- Set the
role in ClientCertificateAuthenticationOptions to include it in the request body : {"name": "my-cert-name"}
@mp911de @spencergibb