Interface Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder (0.33.0)

public static interface Repository.GitRemoteSettings.SshAuthenticationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostPublicKey()

public abstract String getHostPublicKey()

Required. Content of a public SSH key to verify an identity of a remote Git host.

string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hostPublicKey.

getHostPublicKeyBytes()

public abstract ByteString getHostPublicKeyBytes()

Required. Content of a public SSH key to verify an identity of a remote Git host.

string host_public_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hostPublicKey.

getUserPrivateKeySecretVersion()

public abstract String getUserPrivateKeySecretVersion()

Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.

string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The userPrivateKeySecretVersion.

getUserPrivateKeySecretVersionBytes()

public abstract ByteString getUserPrivateKeySecretVersionBytes()

Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format projects/*/secrets/*/versions/*.

string user_private_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for userPrivateKeySecretVersion.