Package org.saidone.service.crypto
Class Secret
java.lang.Object
org.saidone.service.crypto.Secret
Container for a secret value retrieved from Vault.
Instances of this class are produced by SecretService
when fetching encryption material. The version
corresponds to the
version number reported by Vault while data
holds the secret bytes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
version
public int versionVersion of the secret as stored in Vault metadata. -
data
public byte[] dataRaw secret bytes retrieved from Vault.
-
-
Constructor Details
-
Secret
public Secret()
-