Policy: GCP > CIS v5.0 > 6 - Cloud SQL Database Services > 6.06 - Ensure Cloud SQL Database Instances Have IAM Database Authentication Enabled
Configures auditing against a CIS Benchmark item.
Level: 1
It is recommended to enable IAM database authentication for Cloud SQL instances (PostgreSQL and MySQL) to eliminate static password-based authentication and instead use short-lived IAM tokens for database access.
IAM database authentication allows applications and users to authenticate to Cloud SQL databases using IAM principals (service accounts, user accounts) instead of traditional database passwords. When enabled, database users can be created that authenticate via IAM, and connections use automatically-generated, short-lived tokens instead of static passwords.
This recommendation is applicable to Cloud SQL for PostgreSQL and Cloud SQL for MySQL instances. Cloud SQL for SQL Server does not support IAM database authentication.
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Setting this policy configures this control:
Policy Specification
Schema Type | |
|---|---|
Default | |
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v071602
- tmod:@turbot/gcp-cisv5-0#/policy/types/r0606
- turbot graphql policy-type --id "tmod:@turbot/gcp-cisv5-0#/policy/types/r0606"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv5-0#/policy/types/r0606"
Get Policy TypeGet Policy Settings