public class DefaultVaultTranscriber extends Object implements VaultTranscriber
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).VaultRawSecret,
VaultCharSecret| Constructor and Description |
|---|
DefaultVaultTranscriber(VaultProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
VaultCharSecret |
getCharSecret(String value) |
VaultRawSecret |
getRawSecret(String value) |
VaultStringSecret |
getStringSecret(String value) |
public DefaultVaultTranscriber(VaultProvider provider)
public VaultRawSecret getRawSecret(String value)
getRawSecret in interface VaultTranscriberpublic VaultCharSecret getCharSecret(String value)
getCharSecret in interface VaultTranscriberpublic VaultStringSecret getStringSecret(String value)
getStringSecret in interface VaultTranscriberCopyright © 2020 JBoss by Red Hat. All rights reserved.