Skip to content

Add information about last key usage to kms table #2745

@MirkoRischke

Description

@MirkoRischke

Is your feature request related to a problem? Please describe.
I want to see when a KMS Key was last used. I want to use this information to help me decide whether a key is potentially obsolete.

Describe the solution you'd like
Add a last_key_usage_timestamp column to table aws_kms_key. The information can be fetched using the new GetKeyLastUsage API

Describe alternatives you've considered
You could parse all relevant cloudtrail events yourself. However, this is really expensive and not as straightforward as the new attribute that is exposed by KMS itself.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststeampipeSteampipe plugin issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions