Interface StoreCredentialConfiguration.KeyConfiguration

All Known Implementing Classes:
StoreCredentialConfigurationProperties.KeyConfigurationProperties
Enclosing interface:
StoreCredentialConfiguration

public static interface StoreCredentialConfiguration.KeyConfiguration
Configuration interface for a key pair entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    The alias that identifies the key pair in the key store.
    For some credentials where an underlying KeyStore is being used, an external certificate should be used.
    The password to unlock the key entry identified by the given alias.
  • Method Details

    • alias

      String alias()
      The alias that identifies the key pair in the key store.
      Returns:
      the key store alias
    • keyPassword

      Optional<String> keyPassword()
      The password to unlock the key entry identified by the given alias. If not given, the store password will be used (in these cases, using a store reference will not function).
      Returns:
      the password to unlock the key entry
    • certificates

      Optional<String> certificates()
      For some credentials where an underlying KeyStore is being used, an external certificate should be used. The most typical example would be a PKCS#11 key store where the certificate of the key pair resides outside the HSM device. This setting holds the location or content of the certificate or certificate chain in PEM format.
      Returns:
      location or content of the certificate or certificate chain in PEM format for externally configured certificates