Sync docs from master to gh-pages
This commit is contained in:
@@ -796,6 +796,31 @@ If the <code>aws-java-sdk-core</code> jar is not on your classpath, the AWS Code
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
<h5 id="_authentication_with_google_cloud_source"><a class="link" href="#_authentication_with_google_cloud_source">Authentication with Google Cloud Source</a></h5>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Config Server also supports authenticating against <a href="https://cloud.google.com/source-repositories/">Google Cloud Source</a> repositories.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>If your Git URI uses the <code>http</code> or <code>https</code> protocol and the domain name is <code>source.developers.google.com</code>, the Google Cloud Source credentials provider will be used. A Google Cloud Source repository URI has the format <code><a href="https://source.developers.google.com/p/${GCP_PROJECT}/r/${REPO}" class="bare">https://source.developers.google.com/p/${GCP_PROJECT}/r/${REPO}</a></code>. To obtain the URI for your repository, click on "Clone" in the Google Cloud Source UI, and select "Manually generated credentials". Do not generate any credentials, simply copy the displayed URI.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>The Google Cloud Source credentials provider will use Google Cloud Platform application default credentials. See <a href="https://cloud.google.com/sdk/gcloud/reference/auth/application-default/login">Google Cloud SDK documentation</a> on how to create application default credentials for a system. This approach will work for user accounts in dev environments and for service accounts in production environments.</p>
|
||||
</div>
|
||||
<div class="admonitionblock note">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="icon">
|
||||
<i class="fa icon-note" title="Note"></i>
|
||||
</td>
|
||||
<td class="content">
|
||||
<code>com.google.auth:google-auth-library-oauth2-http</code> is an optional dependency.
|
||||
If the <code>google-auth-library-oauth2-http</code> jar is not on your classpath, the Google Cloud Source credential provider is not created, regardless of the git server URI.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
<h5 id="_git_ssh_configuration_using_properties"><a class="link" href="#_git_ssh_configuration_using_properties">Git SSH configuration using properties</a></h5>
|
||||
<div class="paragraph">
|
||||
<p>By default, the JGit library used by Spring Cloud Config Server uses SSH configuration files such as <code>~/.ssh/known_hosts</code> and <code>/etc/ssh/ssh_config</code> when connecting to Git repositories by using an SSH URI.
|
||||
|
||||
Reference in New Issue
Block a user