Google.Cloud.OsLogin.Common - Class SshPublicKey (3.3.0)

public sealed class SshPublicKey : IMessage<SshPublicKey>, IEquatable<SshPublicKey>, IDeepCloneable<SshPublicKey>, IBufferMessage, IMessage

Reference documentation and code samples for the Google.Cloud.OsLogin.Common class SshPublicKey.

The SSH public key information associated with a Google account.

Inheritance

object > SshPublicKey

Namespace

Google.Cloud.OsLogin.Common

Assembly

Google.Cloud.OsLogin.Common.dll

Constructors

SshPublicKey()

public SshPublicKey()

SshPublicKey(SshPublicKey)

public SshPublicKey(SshPublicKey other)
Parameter
NameDescription
otherSshPublicKey

Properties

ExpirationTimeUsec

public long ExpirationTimeUsec { get; set; }

An expiration time in microseconds since epoch.

Property Value
TypeDescription
long

Fingerprint

public string Fingerprint { get; set; }

Output only. The SHA-256 fingerprint of the SSH public key.

Property Value
TypeDescription
string

Key

public string Key { get; set; }

Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> section 6.6.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Output only. The canonical resource name.

Property Value
TypeDescription
string

SshPublicKeyName

public SshPublicKeyName SshPublicKeyName { get; set; }

SshPublicKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
SshPublicKeyName