Googleapis Oslogin
Google Cloud OS Login API is a Google Cloud API for managing SSH access to virtual machines using Google identities and IAM permissions.
- Base URL:
https://oslogin.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
oslogin_users_sshpublickeys_get— GET /v1beta/{name} — Retrieves an SSH public key.oslogin_users_getloginprofile— GET /v1beta/{name}/loginProfile — Retrieves the profile information used for logging in to a virtual machine on Gooslogin_users_sshpublickeys_delete— DELETE /v1beta/{name} — Deletes an SSH public key.oslogin_users_sshpublickeys_patch— PATCH /v1beta/{name} — Updates an SSH public key and returns the profile information. This method suppooslogin_users_sshpublickeys_create— POST /v1beta/{parent}/sshPublicKeys — Create an SSH public keyoslogin_users_importsshpublickey— POST /v1beta/{parent}:importSshPublicKey — Adds an SSH public key and returns the profile information. Default POSIX accoun
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: oslogin_users_sshpublickeys_get
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: oslogin_users_sshpublickeys_get, oslogin_users_getloginprofile, oslogin_users_sshpublickeys_delete, oslogin_users_sshpublickeys_patch, oslogin_users_sshpublickeys_create, oslogin_users_importsshpublickey |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |