Skip to content

Commit

Permalink
Merge pull request #29577 from rsvoboda/credentials-provider-name
Browse files Browse the repository at this point in the history
Follow the recommendation to add the name for the credential provider
  • Loading branch information
sberyozkin authored Nov 30, 2022
2 parents 7a7b6ce + 02ce6f9 commit c69d8d8
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 c69d8d8

Please sign in to comment.