# nokku.v1.GetSubjectAccessResponse

At most one of `user`, `serviceAccount` may be set.

Type: `object`

- `targets` (array<nokku.v1.Target>)
- `daemons` (array<nokku.v1.Daemon>)
- `certificateAuthority` (object): certificate_authority is the workspace's, for a subject with targets to log in to.
  - `id` (string)
  - `userPublicKey` (string)
  - `hostPublicKey` (string)
  - `rotatedAt` (string): Unset until the first rollover.
  - `userTtl` (string): What a person's certificate lasts. A machine and a server set up with nk sync get an hour at most.
  - `createdAt` (string): 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): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
  - `sourceAddress` (string): source_address lists where people log in from. A service account has a list of its own.
  - `userPublicKeyFingerprint` (string): What ssh-keygen -lf prints for each key.
  - `hostPublicKeyFingerprint` (string)
- `user` (object)
  - `id` (string)
  - `name` (string)
  - `email` (string)
  - `picture` (string)
  - `role` (string): One of: `WORKSPACE_ROLE_UNSPECIFIED`, `WORKSPACE_ROLE_MEMBER`, `WORKSPACE_ROLE_VIEWER`, `WORKSPACE_ROLE_EDITOR`, `WORKSPACE_ROLE_ADMIN`, `WORKSPACE_ROLE_OWNER`.
  - `active` (boolean)
  - `pendingEmail` (string)
  - `createdAt` (string): 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): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
  - `scimManaged` (boolean)
- `serviceAccount` (object)
  - `id` (string)
  - `name` (string)
  - `description` (string)
  - `role` (string): One of: `WORKSPACE_ROLE_UNSPECIFIED`, `WORKSPACE_ROLE_MEMBER`, `WORKSPACE_ROLE_VIEWER`, `WORKSPACE_ROLE_EDITOR`, `WORKSPACE_ROLE_ADMIN`, `WORKSPACE_ROLE_OWNER`.
  - `tags` (array<string>)
  - `lastUsedAt` (string): 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): 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): 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)
