Skip to content
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

Add property to configure cert authentication role #726

Open
aram535 opened this issue Apr 16, 2024 · 1 comment
Open

Add property to configure cert authentication role #726

aram535 opened this issue Apr 16, 2024 · 1 comment

Comments

@aram535
Copy link

aram535 commented Apr 16, 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.

For Vault:

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: spring-projects/spring-vault#780

Per @mp911de ... it is settable via:

ClientCertificateAuthenticationOptions.builder().role(…).build()
@mp911de
Copy link
Member

mp911de commented Apr 18, 2024

Another reference: spring-projects/spring-vault#864

@mp911de mp911de changed the title Certificate role name isn't mapped as property Add property to configure cert authentication role Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants