Skip to content

Commit 60a4a30

Browse files
committed
#11 service account key file create doc
1 parent 3f2a141 commit 60a4a30

5 files changed

+32
-3
lines changed
19.9 KB
Loading
Loading
41.1 KB
Loading

docs/oauth-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can enable the APIs for the services you want to use based on this descripti
1717

1818
## 4. Create a "OAuth content screen"
1919

20-
- In gcp console navigate to "APIs & Services" > "OAuth Content Screen"
20+
- In GCP console navigate to "APIs & Services" > "OAuth Content Screen"
2121
- Please fill in the required information. If you are using it for your own purposes,
2222
there is no need to fill in all the information, as you will only be using it in test mode.
2323

docs/service-account-setup.md

+31-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Service Account Setup
22

3-
**This solution can only be used for google workspace paid plans.**
3+
**This solution can only be used for Google Workspace™ paid plans.**
44

55
## 1. Register to Google Cloud
66

@@ -13,6 +13,35 @@ If you do not have an account yet, here is the description: [Registering to GCP]
1313
You can enable the APIs for the services you want to use based on this description:
1414
[Enable APIs on GCP](enable-gcp-apis.md)
1515

16-
## 4. Generate key file for service account
16+
## 4. Create a service account
17+
18+
- In GCP console navigate to "APIs & Services" > "Credentials"
19+
- The "+ CREATE CREDENTIALS" button at the top of the page.
20+
- In the select, choose "Service account".
21+
- Fill the input fields and click the "CREATE AND CONTINUE" button.
22+
![](images/service-account-create-step1.png)
23+
- "Grant this service account access to the project', then click on the 'CONTINUE' button."
24+
- "Grant users access to this service account", then click on the "DONE" button.
25+
26+
"The service account has been successfully created.
27+
28+
## 5. Creating and downloading a key file for the service account.
29+
30+
- In gcp console navigate to "APIs & Services" > "Credentials"
31+
- In the "Service Accounts" section, click on the email address of the service account that you created.
32+
33+
![](images/service-account-create-show-created.png)
34+
- Click on the "KEYS" tab
35+
![](images/service-account-create-key-tab.png)
36+
- Click on the "ADD KEY" button and choose "Create new key".
37+
- Key type JSON, click on the "CREATE" button.
38+
- Save the key file in a location where gwbackupy has access to.
39+
40+
**Do not share the key file with anyone and do not make it accessible on the internet.**
41+
42+
You have successfully completed the steps. ű
43+
All you have to do now is to provide the path of the key file as a parameter for gwbackupy.
44+
45+
## 6. Delegating the service account to all users in Google Workspace™. (Optional)
1746

1847
...

0 commit comments

Comments
 (0)