turbot/terraform_gcp_compliance

GitHub
Loading controls...

Control: Ensure that there are only GCP-managed service account keys for each service account

Description

User-managed service accounts should not have user-managed keys. It is recommended that only GCP-managed service account keys are used for each service account.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.iam_service_account_gcp_managed_key

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_gcp_compliance.control.iam_service_account_gcp_managed_key

SQL

This control uses a named query:

iam_service_account_gcp_managed_key

Tags