OSLogin
import { OSLogin } from "https://googleapis.deno.dev/v1/oslogin:v1.ts";
You can use OS Login to manage access to your VM instances using IAM roles.
§Methods
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
Required. The unique ID for the user in format users/{user}
.
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
Required. The unique ID for the user in format users/{user}
.
Create an SSH public key
Required. The unique ID for the user in format users/{user}
.
Retrieves an SSH public key.
Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}
.
Updates an SSH public key and returns the profile information. This method supports patch semantics.
Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}
.