Get Login Profile
os_login.get_login_profile
ActionGoogle Cloudconnection required
Calls Cloud OS Login GET /v1/users/{usersId}/loginProfile.
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud OS Login
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user Id of the user to act on, from its Os Login URL or console — not its name. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
name | string | — |
posixAccounts | array | — |
sshPublicKeys | object | — |
{
"name": "",
"ok": false,
"posixAccounts": [],
"sshPublicKeys": {}
}Related Google Cloud OS Login nodes
See Get Login Profile run in a workflow.
In a technical demo we add the Google Cloud OS Login connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.