Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3-credentials delete-user command #10

Closed
simonw opened this issue Nov 3, 2021 · 0 comments
Closed

s3-credentials delete-user command #10

simonw opened this issue Nov 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Nov 3, 2021

I wanted to clean up all of the users and buckets I made while testing this tool.

Deleting buckets is easy enough with the aws s3 tool:

aws s3 rb s3://simonw-test-bucket-10 --force

Deleting users is harder:

aws iam delete-user --user-name s3.read-only.simonw-test-bucket-11
An error occurred (DeleteConflict) when calling the DeleteUser operation:
Cannot delete entity, must delete policies first.

I'm going to build a s3-credentials delete-user command which deletes the inline policies first.

@simonw simonw added the enhancement New feature or request label Nov 3, 2021
@simonw simonw closed this as completed in eec24e0 Nov 3, 2021
simonw added a commit that referenced this issue Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant