Cloud OS Login API . users . projects . locations

Instance Methods

close()

Close httplib2 connections.

signSshPublicKey(parent, body=None, x__xgafv=None)

Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.

Method Details

close()
Close httplib2 connections.
signSshPublicKey(parent, body=None, x__xgafv=None)
Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.

Args:
  parent: string, The parent project and region for the signing request. (required)
  body: object, The request body.
    The object takes the form of:

{
  "sshPublicKey": "A String", # The SSH public key to sign.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "signedSshPublicKey": "A String", # The signed SSH public key to use in the SSH handshake.
}