IRPCLogin.KeepAlive

View as Markdown

Vault API / core session session idempotent

Tells the server that the session is still in use, so that it does not expire.

ServiceLogin and sessions MFiles.IRPCLogin
gRPC method/MFiles.IRPCLogin/KeepAlive
HTTP (mf-http-grpc)POST /grpc/v1/keep-alive
RequestKeepAliveRequest
ResponseKeepAliveResponse
Book and levelVault API, core
Kindsession
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Call it at least every session_data.keep_alive_interval_in_seconds seconds (half the server's session timeout; 450 seconds with the default 15-minute timeout). Only this call resets the idle timer; other calls do not. When the timeout elapses, the session expires.

KeepAlive fails with UNAUTHENTICATED when the session has expired or was logged out. Then log in again with LogIn.

Request: KeepAliveRequest

No fields.

Response: KeepAliveResponse

No fields.