-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Ability to apply provider to 'quarkus.oidc.credentials.secret' configuration key #15125
Comments
/cc @pedroigor, @sberyozkin |
I wonder if a property initialization like this one can work:
@vsevel Hi Vincent, I recall we were talking awhile back about something similar ? Also CC @radcortez |
it is more:
with but yes it works. there is nothing specific here. is this what you mean? |
That does not work for me. I do not use a built-in vault extension. I am interacting with Azure Key Vault through their dedicated Java SDK: https://docs.microsoft.com/en-us/azure/key-vault/secrets/quick-create-java |
there are 2 solutions:
|
@robertjesionek I see; I'm pretty sure I've seen a blog post somewhere showing how the Azure key Vault values can be exposed as MP configuration properties, using a custom |
Hi @robertjesionek @vsevel Sure, I'll keep this issue open even if |
I guess you find it? :) |
Sorry @radcortez I meant to react with a smiley but chose a confused one by mistake :-), re-reacted with thumb up :-) |
FYI https://github.com/Azure/azure-microprofile/tree/master/microprofile-config-keyvault does not work. System.setProperty("quarkus.oidc.credentials.secret", secretClient.getSecret("secretKey")); |
The framework provides the ability to apply credentials-provider to 'quarkus.datasource' configuration key. It works great if developer decides to store sensitive data in the key vault.
It would be great if the Open ID Connect extension supported similar feature, that could be leveraged if developer prefers to store oidc's credential secret in the vault, too.
The text was updated successfully, but these errors were encountered: