Resource Type: GCP > IAM > API Key
API Key in GCP IAM Service.
Resource Context
API Key is a part of the IAM service.
Each API Key lives under a Project.
Controls
The primary controls for GCP > IAM > API Key are:
It is also targeted by these controls:
- GCP > CIS v2.0 > 1 - Identity and Access Management > 1.13 - Ensure API Keys Are Restricted To Use by Only Specified Hosts and Apps
- GCP > CIS v2.0 > 1 - Identity and Access Management > 1.14 - Ensure API Keys Are Restricted to Only APIs That Application Needs Access
- GCP > CIS v2.0 > 1 - Identity and Access Management > 1.15 - Ensure API Keys Are Rotated Every 90 Days
Category
In Your Workspace
- Controls by Resource Type report
- Policy Settings by Resource Type report
- Resources by Resource Type report
Developers
- tmod:@turbot/gcp-iam#/resource/types/apiKey
- tmod:@turbot/turbot#/resource/categories/iamAccessKey
- turbot graphql resource --id "tmod:@turbot/gcp-iam#/resource/types/apiKey"
Get Resource- select * from guardrails_resource where resource_type_uri = 'tmod:@turbot/gcp-iam#/resource/types/apiKey';
- select * from guardrails_policy_setting where filter = 'resourceTypeId:"tmod:@turbot/gcp-iam#/resource/types/apiKey"';
- select * from guardrails_notification where resource_type_uri = 'tmod:@turbot/gcp-iam#/resource/types/apiKey' and notification_type in ('resource_updated', 'resource_created');
Get ResourceGet Policy Settings (By Resource ID)Get Resource Notification
Resource Type URI
Category URI
GraphQL
CLI
Steampipe Query