This document describes audit logging for Service Account Credentials, including which methods generate audit logs, details about the audit logs each method produces, and which methods do not produce audit logs, if any. Google Cloud generates audit logs that record administrative and access activities within your Google Cloud resources. For more information, see Cloud Audit Logs overview.
Service name
Service Account Credentials audit logs use the service name
iamcredentials.googleapis.com
.
Methods by permission type
Methods that check DATA_READ
, DATA_WRITE
, and
ADMIN_READ
permissions generate logs categorized as
Data Access audit logs. Methods that check
ADMIN_WRITE
permissions generate logs categorized as
Admin Activity audit logs.
Permission type | Methods |
---|---|
ADMIN_READ |
GenerateAccessToken GenerateIdToken SignBlob SignJwt
|
Audit logs for each API interface
For information about how and which permissions are evaluated, for each method, see the Identity and Access Management documentation for Service Account Credentials.
google.iam.credentials.v1.IAMCredentials
The following section contains details about audit logs associated with methods belonging to
google.iam.credentials.v1.IAMCredentials
.
GenerateAccessToken
- Method:
GenerateAccessToken
- Audit log type: Data access
-
Permissions:
iam.serviceAccounts.getAccessToken - ADMIN_READ
iam.serviceAccounts.implicitDelegation - ADMIN_READ
- Method is a long-running or streaming operation: No.
-
Filter for this method:
protoPayload.methodName="GenerateAccessToken"
GenerateIdToken
- Method:
GenerateIdToken
- Audit log type: Data access
-
Permissions:
iam.serviceAccounts.getOpenIdToken - ADMIN_READ
iam.serviceAccounts.implicitDelegation - ADMIN_READ
- Method is a long-running or streaming operation: No.
-
Filter for this method:
protoPayload.methodName="GenerateIdToken"
SignBlob
- Method:
SignBlob
- Audit log type: Data access
-
Permissions:
iam.serviceAccounts.implicitDelegation - ADMIN_READ
iam.serviceAccounts.signBlob - ADMIN_READ
- Method is a long-running or streaming operation: No.
- Filter for this method:
protoPayload.methodName="SignBlob"
SignJwt
- Method:
SignJwt
- Audit log type: Data access
-
Permissions:
iam.serviceAccounts.implicitDelegation - ADMIN_READ
iam.serviceAccounts.signJwt - ADMIN_READ
- Method is a long-running or streaming operation: No.
- Filter for this method:
protoPayload.methodName="SignJwt"