Policy: GCP > CIS v1 > 1 Identity and Access Management > 1.12 Ensure API keys are restricted to only APIs that application needs access (Not Scored)
Configures auditing against a CIS Benchmark item.
Level: 1 (Not Scored)
API keys are insecure because they can be viewed publicly, such as from within a browser, or they can be accessed on a device where the key resides. It is recommended to restrict API keys to use (call) only APIs required by an application.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
Controls
- GCP > CIS v1
- GCP > CIS v1 > 1 Identity and Access Management > 1.12 Ensure API keys are restricted to only APIs that application needs access (Not Scored)
- GCP > CIS v1 > 1 Identity and Access Management
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v0716
- tmod:@turbot/gcp-cisv1#/policy/types/r0112
- turbot graphql policy-type --id "tmod:@turbot/gcp-cisv1#/policy/types/r0112"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv1#/policy/types/r0112"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI