Class MountPayload

java.lang.Object
io.github.jopenlibs.vault.api.sys.mounts.MountPayload
All Implemented Interfaces:
Serializable

public class MountPayload extends Object implements Serializable

A container for options sent to mounts endpoints on the Secret Engine backend as REST payload. This class is meant for use with a builder pattern style. Example usage:


 final MountPayload payload = new MountPayload()
                                  .defaultLeaseTtl(TimeToLive.of(30, TimeUnit.MINUTES))
                                  .maxLeaseTtl(TimeToLive.of(30, TimeUnit.MINUTES))
                                  .description("description of pki");
 
See Also: