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

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

NameAccessible byRequired ParamsDescription
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.
projects_get_service_accountSELECTprojectsIdRetrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

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 foldersId = '{{ foldersId }}';