Skip to main content

users_login_profile

Creates, updates, deletes, gets or lists a users_login_profile resource.

Overview

Nameusers_login_profile
TypeResource
Idgoogle.oslogin.users_login_profile

Fields

NameDatatypeDescription
namestringRequired. A unique user ID.
posixAccountsarrayThe list of POSIX accounts associated with the user.
sshPublicKeysobjectA map from SSH public key fingerprint to the associated key object.

Methods

NameAccessible byRequired ParamsDescription
get_login_profileSELECTusersIdRetrieves the profile information used for logging in to a virtual machine on Google Compute Engine.

SELECT examples

Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.

SELECT
name,
posixAccounts,
sshPublicKeys
FROM google.oslogin.users_login_profile
WHERE usersId = '{{ usersId }}';