signSshPublicKey
public CloudOSLogin.Users.Projects.Locations.SignSshPublicKey signSshPublicKey(String parent,
SignSshPublicKeyRequest content)
throws IOException
Signs an SSH public key for a user to authenticate to an instance.
Create a request for the method "locations.signSshPublicKey".
This request holds the parameters needed by the oslogin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- 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.
content
- the SignSshPublicKeyRequest
- Returns:
- the request
- Throws:
IOException