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/*.
↳ host_public_key
string
Required. Content of a public SSH key to verify an identity of a remote Git host.
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/*.
Returns
Type
Description
string
setUserPrivateKeySecretVersion
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/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getHostPublicKey
Required. Content of a public SSH key to verify an identity of a remote
Git host.
Returns
Type
Description
string
setHostPublicKey
Required. Content of a public SSH key to verify an identity of a remote
Git host.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataform V1 Client - Class SshAuthenticationConfig (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1.Repository.GitRemoteSettings.SshAuthenticationConfig)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1.Repository.GitRemoteSettings.SshAuthenticationConfig) \nReference documentation and code samples for the Google Cloud Dataform V1 Client class SshAuthenticationConfig.\n\nConfigures fields for performing SSH authentication.\n\nGenerated from protobuf message `google.cloud.dataform.v1.Repository.GitRemoteSettings.SshAuthenticationConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1 \\\\ Repository \\\\ GitRemoteSettings\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUserPrivateKeySecretVersion\n\nRequired. The name of the Secret Manager secret version to use as a\nssh private key for Git operations.\n\nMust be in the format `projects/*/secrets/*/versions/*`.\n\n### setUserPrivateKeySecretVersion\n\nRequired. The name of the Secret Manager secret version to use as a\nssh private key for Git operations.\n\nMust be in the format `projects/*/secrets/*/versions/*`.\n\n### getHostPublicKey\n\nRequired. Content of a public SSH key to verify an identity of a remote\nGit host.\n\n### setHostPublicKey\n\nRequired. Content of a public SSH key to verify an identity of a remote\nGit host."]]