public function renew($leaseId, $increment = null)
    {
        $params = [
            'body' => json_encode(array_filter(compact('increment')))
        ];

        return $this->client->put('/v1/sys/renew/' . $leaseId, $params);
    }
public function renew($leaseId, $increment = null)
    {
        $params = [
            'body' => json_encode(array_filter(compact('increment')))
        ];

        return $this->client->put('/v1/sys/renew/' . $leaseId, $params);
    }
public function renew ( $ leaseId , $ increment = null ) { $ params = [ 'body' => json_encode ( array_filter ( compact ( 'increment' ) ) ) ] ; return $ this -> client -> put ( '/v1/sys/renew/' . $ leaseId , $ params ) ; }
Renew a secret, requesting to extend the lease

@see    https://www.vaultproject.io/docs/http/sys-renew.html
@param  string      $leaseId
@param  string|null $increment
@return mixed
Renew a secret requesting to extend the lease