Class Sys


  • public class Sys
    extends OperationsBase

    The implementing class for operations on Vault's /v1/sys/* REST endpoints.

    This class is not intended to be constructed directly. Rather, it is meant to used by way of Vault in a DSL-style builder pattern. See the Javadoc comments of each public method for usage examples.

    See Also:
    Vault.sys()
    • Constructor Summary

      Constructors 
      Constructor Description
      Sys​(VaultConfig config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Leases leases()
      Returns the implementing class for Vault's lease operations /v1/sys/leases/* REST endpoints).
      Mounts mounts()
      Returns the implementing class for Vault's sys mounts operations (i.e.
      Seal seal()
      Returns the implementing class for Vault's seal operations (e.g.
      Sys withNameSpace​(java.lang.String nameSpace)  
      Wrapping wrapping()
      Returns the implementing class for /v1/sys/wrapping/* REST endpoints
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • withNameSpace

        public Sys withNameSpace​(java.lang.String nameSpace)
      • wrapping

        public Wrapping wrapping()
        Returns the implementing class for /v1/sys/wrapping/* REST endpoints
        Returns:
        The implementing class for wrapping operations
      • seal

        public Seal seal()
        Returns the implementing class for Vault's seal operations (e.g. seal, unseal, sealStatus).
        Returns:
        The implementing class for Vault's seal operations (e.g. seal, unseal, sealStatus).
      • mounts

        public Mounts mounts()
        Returns the implementing class for Vault's sys mounts operations (i.e. /v1/sys/mounts/* REST endpoints).
        Returns:
        the implementing class for Vault's sys mounts operations
      • leases

        public Leases leases()
        Returns the implementing class for Vault's lease operations /v1/sys/leases/* REST endpoints).
        Returns:
        The implementing class for Vault's lease operations