Once you have created a service account and generated a JSON access key in GCP,
register the access key as a credential in GCP.
Before registering a GCP credential in Cloudera, you should create a service account
in Google Cloud and assign the required permissions. Next, you must generate a JSON
access key for the service account. See Service account for the provisioning
credential. Once you have the JSON access key, follow these steps to
register the Google Cloud credential in Cloudera.
-
Log in to the Cloudera web interface.
-
Go to the Cloudera Management Console.
-
Select from the navigation pane.
-
Click Create Credential.
-
Under Select Cloud Provider, select
Google to access credential options for Google Cloud
Platform.
-
Enter the following information:
Table 1. GCP credential information
| Parameter |
Description |
| Name |
Enter a name for your credential. |
| Description |
(Optional) Enter a description. |
| Key Type |
JSON is selected by default. Do
not change this. P12 key type is only included for backward
compatibility, not for new deployments. |
| Service Account Private Key (JSON
format) |
Upload the JSON access key generated for your pre-created
service account. You should have saved it on your computer
earlier. |
-
Click Create Credential.