Interface SysProvider<T>

  • Type Parameters:
    T - type of API supported
    All Known Implementing Classes:
    HcpSysProvider

    public interface SysProvider<T>
    Java Service Loader service to add support for sys APIs.
    • Method Detail

      • supportedApi

        SysApi<T> supportedApi()
        Supported API by this provider.
        Returns:
        sys API supported
      • createSys

        T createSys​(Config config,
                    RestApi restAccess)
        Create a new instance of Sys.
        Parameters:
        config - vault configuration
        restAccess - access to REST endpoits
        Returns:
        a API to access sys functions