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

Keycloak and Spring Cloud Vault Integration #655

Open
sedefbostanci opened this issue Sep 6, 2022 · 1 comment
Open

Keycloak and Spring Cloud Vault Integration #655

sedefbostanci opened this issue Sep 6, 2022 · 1 comment

Comments

@sedefbostanci
Copy link

I want to manage my secrets using Spring Cloud Vault. However, the authentication methods in Spring Cloud Vault do not fit my needs(I don't want a static token due to security requirements, and I am not able to use Kubernetes or AWS methods).

I am currently using Keycloak in my app. I was able to integrate Keycloak and Vault independently of my application, and I can connect to the vault with "Sign in with OIDC provider" by using the dynamic tokens produced by Keycloak. However, Spring Cloud Vault does not have a direct authentication method with Keycloak. Do you know how I can use Keycloak or its generated dynamic token as an authentication method on my app(somehow using Approle or any other methods that Spring currently has)? Or does Spring have a plan to use OIDC providers as an authentication method for the Spring Cloud Vault as well in the future?

@mp911de
Copy link
Member

mp911de commented Mar 28, 2023

I think spring-projects/spring-vault#759 is required. Generally speaking, I wonder how OIDC tokens should be used with Spring Cloud Vault as logging in via UI is a user process while the Spring Cloud Vault config is required to be present at deploy-time.

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