Package org.keycloak.vault
-
Interface Summary Interface Description VaultCharSecret ACharBuffer
based representation of the secret obtained from the vault that supports automated cleanup of memory.VaultKeyResolver VaultKeyResolver
is aBiFunction
whose implementation of theBiFunction.apply(Object, Object)
method takes twoString
s representing the realm name and the key name (as used in${vault.key}
expressions) and returns anotherString
representing the final constructed key that is to be used when obtaining secrets from the vault.VaultProvider Provider interface for a vault.VaultProviderFactory VaultRawSecret Raw representation of the secret obtained from vault that supports automated cleanup of memory.VaultStringSecret AString
based representation of the secret obtained from the vault that supports automated cleanup of memory.VaultTranscriber A facade to the configured vault provider that exposes utility methods for obtaining the vault secrets in different formats (such asVaultRawSecret
,VaultCharSecret
orVaultStringSecret
). -
Class Summary Class Description AbstractVaultProvider Abstract class that is meant to be extended by implementations ofVaultProvider
that want to have support for key resolvers.AbstractVaultProviderFactory Abstract class that is meant to be extended by implementations ofVaultProviderFactory
that want to offer support for the configuration of key resolvers.DefaultVaultCharSecret DefaultVaultCharSecret
implementation based onCharBuffer
.DefaultVaultRawSecret Default raw secret implementation forbyte[]
.DefaultVaultStringSecret DefaultVaultCharSecret
implementation based onString
.DefaultVaultTranscriber DefaultVaultTranscriber
implementation that uses the configuredVaultProvider
to obtain raw secrets and convert them into other types.FilesPlainTextVaultProvider A text-based vault provider, which stores each secret in a separate file.FilesPlainTextVaultProviderFactory Creates and configuresFilesPlainTextVaultProvider
.VaultSpi SPI for a low-level vault access. -
Enum Summary Enum Description AbstractVaultProviderFactory.AvailableResolvers Enum containing the availableVaultKeyResolver
s. -
Exception Summary Exception Description VaultConfigurationException This exception is thrown when the factory fails to init due to a configuration error.VaultNotFoundException Thrown when a vault directory doesn't exist.