Skip to content

Commit

Permalink
Follow the recommendation to add the name for the credential provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Nov 30, 2022
1 parent 3500cdf commit 02ce6f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
import java.util.Map;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;

import io.quarkus.arc.Unremovable;
import io.quarkus.credentials.CredentialsProvider;

@ApplicationScoped
@Unremovable
@Named("custom-secret-provider")
public class SecretProvider implements CredentialsProvider {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ quarkus.http.ssl.certificate.key-store-password-key=keystore-password
quarkus.http.ssl.certificate.trust-store-file=server-truststore.jks
quarkus.http.ssl.certificate.trust-store-password-key=truststore-password
quarkus.http.ssl.certificate.credentials-provider=custom
quarkus.http.ssl.certificate.credentials-provider-name=custom-secret-provider

quarkus.http.ssl.client-auth=REQUIRED
quarkus.native.additional-build-args=-H:IncludeResources=.*\\.jks
Expand Down

0 comments on commit 02ce6f9

Please sign in to comment.