Skip to content

Commit b3576c4

Browse files
authored
chore: remove additional secret-ish fields from WorkspaceOwner (#73)
1 parent 62939c6 commit b3576c4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

types/owner.go

+10-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ type WorkspaceOwner struct {
1313
SSHPublicKey string `json:"ssh_public_key"`
1414
// SSHPrivateKey is intentionally omitted for now, due to the security risk
1515
// that exposing it poses.
16-
// SSHPrivateKey string `json:"ssh_private_key"`
17-
Groups []string `json:"groups"`
18-
SessionToken string `json:"session_token"`
19-
OIDCAccessToken string `json:"oidc_access_token"`
20-
LoginType string `json:"login_type"`
21-
RBACRoles []WorkspaceOwnerRBACRole `json:"rbac_roles"`
16+
// SSHPrivateKey string `json:"ssh_private_key"`
17+
Groups []string `json:"groups"`
18+
// SessionToken is intentionally omitted for now, due to the security risk
19+
// that exposing it poses.
20+
// SessionToken string `json:"session_token"`
21+
// OIDCAccessToken is intentionally omitted for now, due to the security risk
22+
// that exposing it poses.
23+
// OIDCAccessToken string `json:"oidc_access_token"`
24+
LoginType string `json:"login_type"`
25+
RBACRoles []WorkspaceOwnerRBACRole `json:"rbac_roles"`
2226
}
2327

2428
type WorkspaceOwnerRBACRole struct {

0 commit comments

Comments
 (0)