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​

The following fields are returned by SELECT queries:

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​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_login_profileselectusersIdprojectId, systemIdRetrieves the profile information used for logging in to a virtual machine on Google Compute Engine.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
usersIdstring
projectIdstring
systemIdstring

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 }}' -- required
AND projectId = '{{ projectId }}'
AND systemId = '{{ systemId }}'
;