Module de.stklcode.jvault.connector
Class SealResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.SealResponse
- All Implemented Interfaces:
VaultResponse
Vault response for seal status or unseal request.
- Since:
- 0.1
- Author:
- Stefan Kalscheuer
-
Constructor Details
-
SealResponse
public SealResponse()
-
-
Method Details
-
getType
- Returns:
- Seal type.
- Since:
- 0.8
-
isSealed
public boolean isSealed()- Returns:
- Seal status
-
isInitialized
public boolean isInitialized()- Returns:
- Vault initialization status (since Vault 0.11.2).
- Since:
- 0.8
-
getThreshold
- Returns:
- Required threshold of secret shares
-
getProgress
- Returns:
- Current unseal progress (remaining required shares)
-
getVersion
- Returns:
- Vault version.
- Since:
- 0.8
-
getNonce
- Returns:
- A random nonce.
- Since:
- 0.8
-
getClusterName
- Returns:
- Vault cluster name (only if unsealed).
- Since:
- 0.8
-
getClusterId
- Returns:
- Vault cluster ID (only if unsealed).
- Since:
- 0.8
-