Interface EncryptionProvider<T extends ProviderConfig>

Type Parameters:
T - type of the custom configuration object
All Superinterfaces:
SecurityProvider
All Known Implementing Classes:
ConfigVaultProvider, TransitSecurityProvider

public interface EncryptionProvider<T extends ProviderConfig> extends SecurityProvider
Provider that can encrypt and decrypt secrets.
See Also:
  • Method Details

    • encryption

      Create encryption support from configuration.
      Parameters:
      config - config located on the node of the specific encryption config node
      Returns:
      encryption support to encrypt/decrypt
    • encryption

      EncryptionProvider.EncryptionSupport encryption(T providerConfig)
      Create encryption support from configuration object.
      Parameters:
      providerConfig - configuring a specific encryption
      Returns:
      encryption support to encrypt/decrypt