Skip to content

Commit 73172ce

Browse files
authored
Fix docs of gcs offload (apache#6943)
* Fix docs of gcs offload Signed-off-by: xiaolong.ran <rxl@apache.org> * fix comments Signed-off-by: xiaolong.ran <rxl@apache.org>
1 parent fd6f772 commit 73172ce

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

site2/docs/cookbooks-tiered-storage.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,15 @@ a Json file, containing the GCS credentials of a service account.
168168
more information of how to create this key file for authentication. More information about google cloud IAM
169169
is available [here](https://cloud.google.com/storage/docs/access-control/iam).
170170

171-
Usually these are the steps to create the authentication file:
172-
1. Open the API Console Credentials page.
173-
2. If it's not already selected, select the project that you're creating credentials for.
174-
3. To set up a new service account, click New credentials and then select Service account key.
175-
4. Choose the service account to use for the key.
176-
5. Download the service account's public/private key as a JSON file that can be loaded by a Google API client library.
171+
To generate service account credentials or view the public credentials that you've already generated, follow the following steps:
172+
173+
1. Open the [Service accounts page](https://console.developers.google.com/iam-admin/serviceaccounts).
174+
2. Select a project or create a new one.
175+
3. Click **Create service account**.
176+
4. In the **Create service account** window, type a name for the service account, and select **Furnish a new private key**. If you want to [grant G Suite domain-wide authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to the service account, also select **Enable G Suite Domain-wide Delegation**.
177+
5. Click **Create**.
178+
179+
> Notes: Make ensure that the service account you create has permission to operate GCS, you need to assign **Storage Admin** permission to your service account in [here](https://cloud.google.com/storage/docs/access-control/iam).
177180
178181
```conf
179182
gcsManagedLedgerOffloadServiceAccountKeyFile="/Users/hello/Downloads/project-804d5e6a6f33.json"

0 commit comments

Comments
 (0)