1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Integration Connectors v1 API class AuthConfig.Types.SshPublicKey.

Parameters to support Ssh public key Authentication.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AuthConfig.Types.SshPublicKey

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AuthConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.md.txt)[SshPublicKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.SshPublicKey.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AuthConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.md.txt)[SshPublicKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.SshPublicKey.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AuthConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.md.txt)[SshPublicKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.AuthConfig.Types.SshPublicKey.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Connectors.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.md.txt)

## Assembly

Google.Cloud.Connectors.V1.dll

## Constructors

### SshPublicKey()

    public SshPublicKey()

### SshPublicKey(SshPublicKey)

    public SshPublicKey(AuthConfig.Types.SshPublicKey other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AuthConfigTypesSshPublicKey` |

## Properties

### CertType

    public string CertType { get; set; }

Format of SSH Client cert.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SshClientCert

    public Secret SshClientCert { get; set; }

SSH Client Cert. It should contain both public and private key.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Secret` |   |

### SshClientCertPass

    public Secret SshClientCertPass { get; set; }

Password (passphrase) for ssh client certificate if it has one.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Secret` |   |

### Username

    public string Username { get; set; }

The user account used to authenticate.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |