Skip to content

Allow TLS certificate to authenticate against the named certificate role #874

@ielatif

Description

@ielatif

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions