SudoAuthContext
Defined in: runtime/auth.ts:60
Used when accessing as a system user on behalf of a principal.
Properties
Section titled “Properties”
readonlytag: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.
readonlytype:"sudo"
Defined in: runtime/auth.ts:61
underlyingPrincipalId
Section titled “underlyingPrincipalId”
readonlyunderlyingPrincipalId:string
Defined in: runtime/auth.ts:67
If this is a “sudo” session, this will contain the principal that initiated the sudo session.
workspaceId
Section titled “workspaceId”
readonlyworkspaceId:string
Defined in: runtime/auth.ts:78
The current workspace selected for this system user.