Skip to main content

service_account

Creates, updates, deletes, gets or lists a service_account resource.

Overview

Nameservice_account
TypeResource
Idgoogle.accessapproval.service_account

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe resource name of the Access Approval service account. Format is one of: * "projects/{project}/serviceAccount" * "folders/{folder}/serviceAccount" * "organizations/{organization}/serviceAccount"
accountEmailstringEmail address of the service account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_get_service_accountselectprojectsIdRetrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
folders_get_service_accountselectfoldersIdRetrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
organizations_get_service_accountselectorganizationsIdRetrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
foldersIdstring
organizationsIdstring
projectsIdstring

SELECT examples

Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

SELECT
name,
accountEmail
FROM google.accessapproval.service_account
WHERE projectsId = '{{ projectsId }}' -- required;