Skip to content

What is the property value to set for certificate authentication name? #864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aram535 opened this issue Apr 14, 2024 · 1 comment
Closed
Labels
for: external-project For an external project and not something we can fix

Comments

@aram535
Copy link

aram535 commented Apr 14, 2024

I'm setting up an cert authentication but can't seem to find the option value to set for the cert auth name.

https://docs.spring.io/spring-cloud-vault/docs/current/reference/html/#common-application-properties doesn't seem to contain any entries for the cert auth other than the mount name.

curl -H "X-Vault-Request: true" -H "X-Vault-Token: $(vault print token)" https://127.0.0.1:8200/v1/auth/cert/certs?list=true

Reference: #780

@mp911de
Copy link
Member

mp911de commented Apr 15, 2024

The certificate role name isn't mapped as property. Can you file a ticket in https://github.com/spring-cloud/spring-cloud-vault/?

For programmatic configuration, you can set the name via ClientCertificateAuthenticationOptions.builder().role(…).build().

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
@mp911de mp911de added the for: external-project For an external project and not something we can fix label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

2 participants