java.lang.Object
io.github.jopenlibs.vault.api.sys.mounts.TimeToLive
A container for Time To Live information sent to mounts endpoints on the Secret Engine
backend as REST payload. This class is meant for use with a static TimeToLive.of(int,
TimeUnit) method pattern style. Example usage:
TimeToLive.of(1, TimeUnit.HOURS);
Note that the only accepted TimeUnit which Vault backend understands are:
TimeUnit.SECONDSTimeUnit.MINUTESTimeUnit.HOURS
-
Method Summary