Skip to content
Nokku LogoNokku
API Referencev1.0.0 · 174 endpoints

nokku.v1.SyncDaemonResponse

object
nokku.v1.SyncDaemonResponse
status?
string
Enum:"DAEMON_STATUS_UNSPECIFIED""DAEMON_STATUS_PENDING""DAEMON_STATUS_ACCEPTED""DAEMON_STATUS_REJECTED"
config?
object
recordSessions?
boolean
allowForwarding?
boolean
allowAgentForwarding?
boolean
gatewayPorts?
boolean
ephemeral?
boolean
idleTimeout?
string

idle_timeout closes an interactive session nobody typed into for that long. It is the workspace's session_idle_timeout, filled in by the core on sync and ignored when sent.

principals?
array<nokku.v1.AccountPrincipals>
userCaPublicKey?
string

The user CA key logins are checked against.

hostCaPublicKey?
string

The host CA key the daemon's host certificate has to come from.

stateHash?
string <byte>

A hash of this answer, the daemon sends it back with every heartbeat. A daemon never works it out itself.

Example

{
  "status": "DAEMON_STATUS_UNSPECIFIED",
  "config": {
    "recordSessions": true,
    "allowForwarding": true,
    "allowAgentForwarding": true,
    "gatewayPorts": true,
    "ephemeral": true,
    "idleTimeout": "string"
  },
  "principals": [
    {
      "username": "string",
      "certPrincipals": [
        "string"
      ]
    }
  ],
  "userCaPublicKey": "string",
  "hostCaPublicKey": "string",
  "stateHash": "string"
}