From b759bc7c008a1fc05676f0895ccdff55d986c8c7 Mon Sep 17 00:00:00 2001 From: Robert Hencke Date: Sun, 9 Jun 2019 16:07:14 -0400 Subject: [PATCH] [docs] Fix sentence order for GCE Cloud Auto-Join --- website/source/docs/agent/cloud-auto-join.html.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/source/docs/agent/cloud-auto-join.html.md b/website/source/docs/agent/cloud-auto-join.html.md index 1c24f5a64..67664c45c 100644 --- a/website/source/docs/agent/cloud-auto-join.html.md +++ b/website/source/docs/agent/cloud-auto-join.html.md @@ -146,6 +146,10 @@ $ consul agent -retry-join "provider=gce project_name=... tag_value=..." #### Authentication & Precedence +Discovery requires a [GCE Service +Account](https://cloud.google.com/compute/docs/access/service-accounts). +Credentials are searched using the following paths, in order of precedence. + - Use credentials from `credentials_file`, if provided. - Use JSON file from `GOOGLE_APPLICATION_CREDENTIALS` environment variable. - Use JSON file in a location known to the gcloud command-line tool. @@ -154,10 +158,6 @@ $ consul agent -retry-join "provider=gce project_name=... tag_value=..." - On Google Compute Engine, use credentials from the metadata server. In this final case any provided scopes are ignored. -Discovery requires a [GCE Service -Account](https://cloud.google.com/compute/docs/access/service-accounts). -Credentials are searched using the following paths, in order of precedence. - ### IBM SoftLayer This returns the first private IP address of all servers for the given