users
Creates, updates, deletes, gets or lists a users resource.
Overview
| Name | users |
| Type | Resource |
| Id | google.oslogin.users |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
import_ssh_public_key | exec | usersId | regions, projectId | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
usersId | string | |
projectId | string | |
regions | string |
Lifecycle Methods
- import_ssh_public_key
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.
EXEC google.oslogin.users.import_ssh_public_key
@usersId='{{ usersId }}' --required,
@regions='{{ regions }}',
@projectId='{{ projectId }}'
@@json=
'{
"expirationTimeUsec": "{{ expirationTimeUsec }}",
"key": "{{ key }}"
}'
;