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

nokku.v1.CreateServiceAccountResponse

object
nokku.v1.CreateServiceAccountResponse
serviceAccount?
object
id?
string
name?
string
description?
string
role?
string
Enum:"WORKSPACE_ROLE_UNSPECIFIED""WORKSPACE_ROLE_MEMBER""WORKSPACE_ROLE_VIEWER""WORKSPACE_ROLE_EDITOR""WORKSPACE_ROLE_ADMIN""WORKSPACE_ROLE_OWNER"
tags?
array<string>
lastUsedAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

createdAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

updatedAt?
string <date-time>

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

forceCommand?
string

force_command replaces what a login asks to run. source_address lists the addresses a login may come from. Both go on the account's certificates, and the CA's own settings don't.

sourceAddress?
string

Example

{
  "serviceAccount": {
    "id": "string",
    "name": "string",
    "description": "string",
    "role": "WORKSPACE_ROLE_UNSPECIFIED",
    "tags": [
      "string"
    ],
    "lastUsedAt": "2023-01-15T01:30:15.01Z",
    "createdAt": "2023-01-15T01:30:15.01Z",
    "updatedAt": "2023-01-15T01:30:15.01Z",
    "forceCommand": "string",
    "sourceAddress": "string"
  }
}