Benchmark: 9. Rotate keys
Description
If you need to use access keys rather than roles, you should rotate them regularly.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-top-10
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select 9. Rotate keys.
Run this benchmark in your terminal:
powerpipe benchmark run aws_top_10.benchmark.account_security_rotate_keys
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_top_10.benchmark.account_security_rotate_keys --share
Controls
- Ensure there is only one active access key available for any single IAM user
- IAM user access keys should be rotated at least every 90 days