Class LookupResponse

java.lang.Object
io.github.jopenlibs.vault.response.VaultResponse
io.github.jopenlibs.vault.response.LookupResponse
All Implemented Interfaces:
Serializable

public class LookupResponse extends VaultResponse
This class is a container for the information returned by Vault in lookup operations on auth backends.
See Also:
  • Constructor Details

    • LookupResponse

      public LookupResponse(RestResponse restResponse, int retries)
      This constructor simply exposes the common base class constructor.
      Parameters:
      restResponse - The raw HTTP response from Vault.
      retries - The number of retry attempts that occurred during the API call (can be zero).
  • Method Details

    • getAccessor

      public String getAccessor()
    • getCreationTime

      public long getCreationTime()
    • getCreationTTL

      public long getCreationTTL()
    • getDisplayName

      public String getDisplayName()
    • getExplicitMaxTTL

      public long getExplicitMaxTTL()
    • getId

      public String getId()
    • getLastRenewalTime

      public Long getLastRenewalTime()
    • getNumUses

      public int getNumUses()
    • isOrphan

      public boolean isOrphan()
    • getPath

      public String getPath()
    • getPolicies

      public List<String> getPolicies()
    • isRenewable

      public boolean isRenewable()
    • getTTL

      public long getTTL()
    • getUsername

      public String getUsername()