Interface KeyProvider

All Known Implementing Classes:
AbstractKeyProvider, KeystoreKeyProvider

public interface KeyProvider
A key provider returns the secret keys for different use cases.
Since:
4.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant representing the keystore alias for keys to encrypt/decrypt node metadata
    static final String
    Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(String keyAlias)
    Get an encryption key if available.
  • Field Details

    • ALIAS_METADATA

      static final String ALIAS_METADATA
      Constant representing the keystore alias for keys to encrypt/decrypt node metadata
      See Also:
    • ALIAS_SOLR

      static final String ALIAS_SOLR
      Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data
      See Also:
  • Method Details

    • getKey

      Key getKey(String keyAlias)
      Get an encryption key if available.
      Parameters:
      keyAlias - the key alias
      Returns:
      the encryption key and a timestamp of when it was last changed