https://app.nokku.sh/nokku.v1.TargetService/GetSubjectAccessTry it
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Authorization
BearerAuth (bearer)
A service account token. Include it in the Authorization header: `Authorization: Bearer <token>`
CookieAuth (cookie: __Host-nokku_session)
The session cookie the web app uses. Browsers send it after sign-in. Only on `localhost` it is named `nokku_session`.
Request Body
Requiredapplication/json
subjectId?Responses
200Success
200Success
application/json
At most one of `user`, `serviceAccount` may be set.
targets?daemons?certificateAuthority?certificate_authority is the workspace's, for a subject with targets to log in to.
id?userPublicKey?hostPublicKey?rotatedAt?Unset until the first rollover.
userTtl?What a person's certificate lasts. A machine and a server set up with nk sync get an hour at most.
createdAt?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?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?source_address lists where people log in from. A service account has a list of its own.
userPublicKeyFingerprint?What ssh-keygen -lf prints for each key.
hostPublicKeyFingerprint?user?id?name?email?picture?role?active?pendingEmail?createdAt?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?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?serviceAccount?id?name?description?role?tags?lastUsedAt?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?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?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?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?defaultError
defaultError
application/json
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
code?The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message?A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details?A list of messages that carry the error details. There is no limit on the number of messages.