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 an instance.

Method Details

close()
Close httplib2 connections.
signSshPublicKey(parent, body=None, x__xgafv=None)
Signs an SSH public key for a user to authenticate to an instance.

Args:
  parent: string, The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process. (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.
}