Class SealResponse

  • All Implemented Interfaces:
    VaultResponse

    public final class SealResponse
    extends Object
    implements VaultResponse
    Vault response for seal status or unseal request.
    Since:
    0.1
    Author:
    Stefan Kalscheuer
    • Constructor Detail

      • SealResponse

        public SealResponse()
    • Method Detail

      • getType

        public String 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

        public Integer getThreshold()
        Returns:
        Required threshold of secret shares
      • getNumberOfShares

        public Integer getNumberOfShares()
        Returns:
        Number of secret shares
      • getProgress

        public Integer getProgress()
        Returns:
        Current unseal progress (remaining required shares)
      • getVersion

        public String getVersion()
        Returns:
        Vault version.
        Since:
        0.8
      • getNonce

        public String getNonce()
        Returns:
        A random nonce.
        Since:
        0.8
      • getClusterName

        public String getClusterName()
        Returns:
        Vault cluster name (only if unsealed).
        Since:
        0.8
      • getClusterId

        public String getClusterId()
        Returns:
        Vault cluster ID (only if unsealed).
        Since:
        0.8