Add a Google Cloud service account
Add a Google Cloud service account to store the credential and access information.
Before you begin
Role required: sn_cmp.cloud_admin
Set up download jobs for billing and price sheet data for the service account.
About this task
A service account is a secure record on your instance that stores the credential and access information for your provider account. Discovery uses the information to access your provider account to get data on each resource in each specified datacenter. A cloud account can include multiple service accounts — even service accounts from different providers. For each service account, you specify which datacenters to include in the cloud account.
Procedure
Navigate to Cloud Cost Management Workspace > Operations > Administration > Service accounts.
Select New.
On the form, fill in the fields.
| Field | Description |
|---|---|
| Name | Unique and meaningful name for this service account. |
| Account Id | The project\_ID value from the associated JSON key file. |
| Discovery credentials | The credentials needed for ServiceNow applications to access this account. You may configure this field at a later stage, while configuring access to Google Cloud accounts.- If you configured Google Cloud credentials at ServiceNow AI Platform, select the name of the relevant Google Cloud credential. - To use other Google Cloud accounts to access this account, leave the field empty. |
| Datacenter URL | URL of the datacenter.This field is required only for Google Gov Cloud accounts. |
| Datacenter Type | Type of the datacenter where the account is hosted.Select Google Cloud Platform datacenter. |
| Datacenter discovery status | Status and timestamp of the last execution of Discovery on the datacenter.This value is generated automatically. |
| Is Billing Account | Option for enabling the account to access billing data. |
- Select Save.
Result
The service account that you created gets listed on the Service accounts page.
Related topics
Schedule and manage the jobs that download Google Cloud billing data
Schedule and manage the Cloud Cost Management jobs that download Google Cloud price sheets