Overview
Name | environments_public_key |
Type | Resource |
Id | google.cloudshell.environments_public_key |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource and then invoke a supported method using the EXEC
command
Methods
Name | Accessible by | Required Params | Description |
---|
add_public_key | EXEC | environmentsId, usersId | Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH. If a key with the same content already exists, this will error with ALREADY_EXISTS. |
remove_public_key | EXEC | environmentsId, usersId | Removes a public SSH key from an environment. Clients will no longer be able to connect to the environment using the corresponding private key. If a key with the same content is not present, this will error with NOT_FOUND. |