Skip to content

Commit 885f185

Browse files
authored
feat(apple_silicon): expose ssh/sudo credentials in public APIs (#1371)
1 parent 33be573 commit 885f185

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ export const unmarshalServer = (data: unknown): Server => {
146146
organizationId: data.organization_id,
147147
os: data.os ? unmarshalOS(data.os) : undefined,
148148
projectId: data.project_id,
149+
sshUsername: data.ssh_username,
149150
status: data.status,
151+
sudoPassword: data.sudo_password,
150152
type: data.type,
151153
updatedAt: unmarshalDate(data.updated_at),
152154
vncUrl: data.vnc_url,

packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ export interface Server {
101101
organizationId: string
102102
/** IPv4 address of the server. */
103103
ip: string
104-
/** URL of the VNC. */
104+
/** Vnc:// URL to access Apple Remote Desktop. */
105105
vncUrl: string
106+
/** SSH Username for remote shell. */
107+
sshUsername: string
108+
/** Admin password required to execute commands. */
109+
sudoPassword: string
106110
/**
107111
* Initially installed OS, this does not necessarily reflect the current OS
108112
* version.

0 commit comments

Comments
 (0)