You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LINUX_gcp.md
+51-18Lines changed: 51 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,24 +175,57 @@ Since the [service account](https://cloud.google.com/iam/docs/service-accounts)
175
175
176
176
⚠️ **Do not share you service account json file 🔑** ⚠️ Do not store it on your desktop, do not store it in your git codebase (even if your git repository is private), do not let it by the coffee machine, do not send it as a tweet.
177
177
178
-
- Go to the [service accounts page](https://console.cloud.google.com/apis/credentials/serviceaccountkey)
179
-
- Select your project in the list of recent projects if asked to
180
-
- Create a service account:
181
-
- Click on **CREATE SERVICE ACCOUNT**:
182
-
- Give a `Service account name` to that account
183
-
- Click on **CREATE AND CONTINUE**
184
-
- Click on **Select a role** and choose `Quick access/Basic` then **Owner**, which gives full access to all resources
185
-
- Click on **CONTINUE**
186
-
- Click on **DONE**
187
-
- Download the service account json file 🔑:
188
-
- Click on the newly created service account
189
-
- Click on **KEYS**
190
-
- Click on **ADD KEY** then **Create new key**
191
-
- Select **JSON** and click on **CREATE**
192
-
193
-

194
-
195
-
The browser has now saved the service account json file 🔑 in your downloads directory (it is named according to your service account name, something like `le-wagon-data-123456789abc.json`)
178
+
#### Go to the Service Accounts page
179
+
180
+
Navigate to the GCP service accounts page at [this link](https://console.cloud.google.com/apis/credentials/serviceaccountkey).
181
+
182
+
- Select your project in the list of recent projects if asked to.
183
+
- If not asked, make sure the right project is selected in the Project selecter list at the top of the page.
184
+
185
+
An alternate way to navigate to the Service Accounts page is from the following:
186
+
187
+
<imgwidth="400"alt="01 Go to Service Accounts"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-01.png">
188
+
189
+
#### Create a service account
190
+
191
+
- Click on **CREATE SERVICE ACCOUNT**.
192
+
193
+
<imgwidth="400"alt="02 Create Service Account"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-02.png">
194
+
195
+
- Give your service account a name, an id and a description, and click on **CREATE AND CONTINUE**.
196
+
197
+
<imgwidth="400"alt="03 Name the service account"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-03.png">
198
+
199
+
- Click on **Select a role** and choose `Basic` then **`Owner`**, which gives the service account full access to all resources of your GCP project.
- Click on the blue **DONE** button at the bottom of this window. We don't need to worry about the section *Grant your users access to this service account*.
- On the service accounts page, click on the email address of the newly created service account.
211
+
212
+
<imgwidth="400"alt="05 Select the service account"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-06.png">
213
+
214
+
- Click on the **KEYS** tab at the top of the page.
215
+
216
+
<imgwidth="400"alt="06 Go to Keys"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-07.png">
<imgwidth="400"alt="08 Choose JSON and Create"src="https://wagon-public-datasets.s3.amazonaws.com/data-science-images/00-Setup/GCP/service-account-09.png">
227
+
228
+
- The browser has now saved the service account json file 🔑 in your downloads directory (it is named according to your service account name, something like `le-wagon-data-123456789abc.json`).
196
229
197
230
198
231
- Store the service account json file somewhere you'll remember, for example:
0 commit comments