Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Service account keys usage reporting

Need to understand the usage details for all of my service account and IAM keys and take proactive action in case of any unauthorized access. How do I check the usage logs for service account keys.

Regards,

Hridaya Patel

3 1 247
1 REPLY 1

Hello @hridayapatel  ,Welcome on Google Cloud Community.

You can check this activity from Policy Analyzer.  But you must specify each key manually, which is odd. AFAIK, ServiceAccount Keys activity logs are stored at cloudaudit.googleapis.com/activity, so from Logs Explorer you should be also able to check it. 

DamianS_0-1716988311576.png

DamianS_1-1716988518119.png

[1.] https://cloud.google.com/policy-intelligence/docs/analyze-iam-policies

--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost