Why it matters
A long-lived access key older than 90 days is a credential with a wide window of exposure: it has been copied into as many places as it has had time to reach.
How to fix it
Rotate the key, or replace it with a short-lived role assumption.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- Microsoft Azure: the collector does not read this yet, so the check reports not assessed, never a pass.
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Amazon Web Services, Microsoft Azure, Google Cloud.
Benchmark controls
- CIS Amazon Web Services Foundations Benchmark 3.0.0, control
1.14: Access keys are rotated within 90 days - CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
1.7: User-managed service account keys rotate within 90 days
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- A user can act as every service account in the project
Google CloudSeverity: Medium
cloud.iam.sa-user-role-project-level - Identity has been idle for a long time
AWS, Azure, Google CloudSeverity: Low
cloud.iam.unused-principal - One member both administers and uses service accounts
Google CloudSeverity: Low
cloud.iam.sa-role-separation - A user is granted permissions directly rather than through a group
AWSSeverity: Low
cloud.iam.user-direct-policy - The root user was used in the last 30 days
AWSSeverity: Medium
cloud.iam.root-recently-used - A service account has a user-managed key
Google CloudSeverity: Medium
cloud.iam.user-managed-sa-key
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation