Skip to content

SudoAuthContext

Defined in: runtime/auth.ts:60

Used when accessing as a system user on behalf of a principal.

readonly tag: string

Defined in: runtime/auth.ts:73

A tag that is useful for tracing where this system user was generated from. For example, this could be the script that started this user.


readonly type: "sudo"

Defined in: runtime/auth.ts:61


readonly underlyingPrincipalId: string

Defined in: runtime/auth.ts:67

If this is a “sudo” session, this will contain the principal that initiated the sudo session.


readonly workspaceId: string

Defined in: runtime/auth.ts:78

The current workspace selected for this system user.