Skip to main content

environments_public_key

Overview

Nameenvironments_public_key
TypeResource
Idgoogle.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

NameAccessible byRequired ParamsDescription
add_public_keyEXECenvironmentsId, usersIdAdds 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_keyEXECenvironmentsId, usersIdRemoves 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.