Package org.keycloak.vault
Class DefaultVaultTranscriber
java.lang.Object
org.keycloak.vault.DefaultVaultTranscriber
- All Implemented Interfaces:
VaultTranscriber
Default
VaultTranscriber implementation that uses the configured VaultProvider to obtain raw secrets
and convert them into other types. By default, the VaultProvider provides raw secrets through a ByteBuffer.
This class offers methods to convert the raw secrets into other types (such as VaultCharSecret or WeakReference<String>).- Author:
- Stefan Guilhen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCharSecret(String value) getRawSecret(String value) getStringSecret(String value)
-
Constructor Details
-
DefaultVaultTranscriber
-
-
Method Details
-
getRawSecret
- Specified by:
getRawSecretin interfaceVaultTranscriber
-
getCharSecret
- Specified by:
getCharSecretin interfaceVaultTranscriber
-
getStringSecret
- Specified by:
getStringSecretin interfaceVaultTranscriber
-