Skip to content

Commit ff2d949

Browse files
Added step by step guide to obtain GCP config
1 parent 5546731 commit ff2d949

16 files changed

Lines changed: 67 additions & 0 deletions

docs.en-us/articles/includes/spa-config/blob-storage-config.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,70 @@ Example (JSON configuration):
215215
...
216216
}
217217
```
218+
219+
### Obtaining the Google Cloud Storage settings
220+
221+
First we'll need a Google Cloud Storage bucket to store the files. A new bucket can be created using the **Create** button on the Google Cloud Storage console.
222+
223+
![Step-1](../../../../images/spa-config/gcp-blob-storage-config-step-01.png)
224+
225+
Pick a name for the new bucket and click on continue.
226+
227+
![Step-2](../../../../images/spa-config/gcp-blob-storage-config-step-02.png)
228+
229+
Choose the new bucket region.
230+
231+
![Step-3](../../../../images/spa-config/gcp-blob-storage-config-step-03.png)
232+
233+
Make sure to enforce public access prevention and uniform access control for the new bucket.
234+
235+
![Step-4](../../../../images/spa-config/gcp-blob-storage-config-step-04.png)
236+
237+
Choose the object retention policy and create the bucket.
238+
239+
![Step-5](../../../../images/spa-config/gcp-blob-storage-config-step-05.png)
240+
241+
A dialog might appear to confirm that public access will be prevented. Click on confirm to continue.
242+
243+
![Step-6](../../../../images/spa-config/gcp-blob-storage-config-step-06.png)
244+
245+
Next we need to create a Google Cloud service account to access the bucket. This can be done using the **Create service account** button on the *Service Accounts* page under *IAM & Admin*.
246+
247+
![Step-7](../../../../images/spa-config/gcp-blob-storage-config-step-07.png)
248+
249+
We'll also need a name for the new service account. Choose it and click on **Create and continue**
250+
251+
![Step-8](../../../../images/spa-config/gcp-blob-storage-config-step-08.png)
252+
253+
Ensure the new service account is given the Storage Object Admin role.
254+
255+
![Step-9](../../../../images/spa-config/gcp-blob-storage-config-step-09.png)
256+
257+
Grant access to principals if needed and click on done to finish the new service account creation process.
258+
259+
![Step-10](../../../../images/spa-config/gcp-blob-storage-config-step-10.png)
260+
261+
Now that the service account is created we need a key to authenticate it. Click on new service account to open its details page.
262+
263+
![Step-11](../../../../images/spa-config/gcp-blob-storage-config-step-11.png)
264+
265+
Inside the service account details, go to the keys section.
266+
267+
![Step-12](../../../../images/spa-config/gcp-blob-storage-config-step-12.png)
268+
269+
Under the **Add key** option, choose **Create new key**.
270+
271+
![Step-13](../../../../images/spa-config/gcp-blob-storage-config-step-13.png)
272+
273+
Choose the JSON format and click on the **Create** button.
274+
275+
![Step-14](../../../../images/spa-config/gcp-blob-storage-config-step-14.png)
276+
277+
A JSON file will be downloaded containing the private key and other information related to the service account.
278+
279+
![Step-15](../../../../images/spa-config/gcp-blob-storage-config-step-15.png)
280+
281+
Inside the JSON file you'll be able to obtain the *"project_id"*, *"private_key_id"*, *"private_key"* and *"client_email"* fields to configure the Blob Storage service.
282+
283+
> [!IMPORTANT]
284+
> The information inside this JSON file allows access to the GCP resources and must not be compromised! Make sure to store or dispose of it securely.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-1.png renamed to images/spa-config/gcp-blob-storage-config-step-01.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-2.png renamed to images/spa-config/gcp-blob-storage-config-step-02.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-3.png renamed to images/spa-config/gcp-blob-storage-config-step-03.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-4.png renamed to images/spa-config/gcp-blob-storage-config-step-04.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-5.png renamed to images/spa-config/gcp-blob-storage-config-step-05.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-6.png renamed to images/spa-config/gcp-blob-storage-config-step-06.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-7.png renamed to images/spa-config/gcp-blob-storage-config-step-07.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-8.png renamed to images/spa-config/gcp-blob-storage-config-step-08.png

File renamed without changes.

docs.en-us/articles/signer/images/gcp-blob-storage-config-step-9.png renamed to images/spa-config/gcp-blob-storage-config-step-09.png

File renamed without changes.

0 commit comments

Comments
 (0)