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

nokku.v1.Access

object
nokku.v1.Access
public?
boolean
self?
boolean
role?
string
Enum:"WORKSPACE_ROLE_UNSPECIFIED""WORKSPACE_ROLE_MEMBER""WORKSPACE_ROLE_VIEWER""WORKSPACE_ROLE_EDITOR""WORKSPACE_ROLE_ADMIN""WORKSPACE_ROLE_OWNER"
daemon?
boolean
peopleOnly?
boolean

people_only refuses service accounts, so a leaked token cannot mint more credentials for itself. fresh implies it.

fresh?
boolean

fresh needs a person's browser session from the last 10 minutes. It refuses nk and service accounts, so a stolen session or key cannot add a way in.

feature?
string

feature is the plan feature the call needs.

capped?
boolean

capped counts the create against the plan's resource cap.

signs?
boolean

signs issues a user certificate, an inactive workspace gets none.

quiet?
boolean

quiet changes something, but the handler records what matters, so the audit log skips the call.

cli?
boolean

cli lets a person's nk session make the call. nk signs certificates, lists what it reaches and runs nk sync, nothing else, so a phished or infected nk session can't change who may do what.

Example

{
  "public": true,
  "self": true,
  "role": "WORKSPACE_ROLE_UNSPECIFIED",
  "daemon": true,
  "peopleOnly": true,
  "fresh": true,
  "feature": "string",
  "capped": true,
  "signs": true,
  "quiet": true,
  "cli": true
}