Interface KeyStoreCredentialProviderConfig


public interface KeyStoreCredentialProviderConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The key used to retrieve the key store alias password.
    The name of the bean providing the credential provider.
    The name of the "credential" bucket (map key -> passwords) to retrieve from the CredentialsProvider.
    The key used to retrieve the key store password.
  • Method Details

    • name

      Optional<String> name()
      The name of the "credential" bucket (map key -> passwords) to retrieve from the CredentialsProvider. If not set, the credential provider will not be used.

      A credential provider offers a way to retrieve the key store password as well as alias password. Note that the credential provider is only used if the passwords are not set in the configuration.

    • beanName

      Optional<String> beanName()
      The name of the bean providing the credential provider.

      The name is used to select the credential provider to use. The credential provider must be exposed as a CDI bean and with the @Named annotation set to the configured name to be selected.

      If not set, the default credential provider is used.

    • passwordKey

      @WithDefault("password") String passwordKey()
      The key used to retrieve the key store password.

      If the selected credential provider does not support the key, the password is not retrieved. Otherwise, the retrieved value is used to open the key store.

    • aliasPasswordKey

      @WithDefault("alias-password") String aliasPasswordKey()
      The key used to retrieve the key store alias password.

      If the selected credential provider does not contain the key, the alias password is not retrieved. Otherwise, the retrieved value is used to access the alias private key from the key store.