Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

fix: skip kms keys if describe is disallowed #1248

Closed
wants to merge 1 commit into from

Conversation

mKeRix
Copy link

@mKeRix mKeRix commented Jul 25, 2024

We noticed that aws-nuke will abort listing KMS keys if it does not have permissions to read one of them, which means that a single key with a key policy that does not allow reading is all it takes for all keys to not be nuked anymore. This change updates the behavior so that these keys will be skipped, allowing other keys to still be nuked. This is done because it can be intentional that some keys will not be readable by their key policy, and aws-nuke should be able to handle that.

@ekristen
Copy link
Contributor

@mKeRix this has been implemented via ekristen/aws-nuke#260 - this is now the active fork of aws-nuke.

This project has now been deprecated in favor of this fork. Sven kindly granted me access to directly answer and close pull requests and issues so that we can notify users if their issues have been addressed or not. Please see the welcome issue for more information.

@ekristen ekristen closed this Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants