Skip to content

Feat/delete s3 sqs policies#59

Merged
sbldevnet merged 5 commits into
mainfrom
feat/delete-s3-sqs-policies
Apr 19, 2026
Merged

Feat/delete s3 sqs policies#59
sbldevnet merged 5 commits into
mainfrom
feat/delete-s3-sqs-policies

Conversation

@sbldevnet
Copy link
Copy Markdown
Member

No description provided.

sbldevnet and others added 5 commits April 13, 2026 21:01
Implements the two missing privileged root-user actions:
- S3UnlockBucketPolicy: list buckets and delete bucket policy
- SQSUnlockQueuePolicy: list queues and delete queue policy

Both operations use AssumeRoot. The CLI adds `delete s3-bucket-policy`
and `delete sqs-queue-policy` subcommands with a single-select TUI when
--account or --bucket/--queue flags are omitted. The multi-select
selector is extended to support a single mode to avoid duplicating UI
logic. Errors are logged via slog and exit non-zero without polluting
the output table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Moved --accounts from a persistent flag on the delete parent command
to a local flag on each traditional subcommand (all/login/keys/mfa/
certificates). This prevents s3-bucket-policy and sqs-queue-policy
from inheriting a flag they don't use, eliminating the confusion in
their --help output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Before deleting an S3 bucket policy or SQS queue policy, fetch and
display the current policy via AssumeRoot. If no policy exists, exit
cleanly. Otherwise show a yes/no confirmation TUI before proceeding.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… table mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sbldevnet sbldevnet merged commit 31a4421 into main Apr 19, 2026
1 check passed
@sbldevnet sbldevnet deleted the feat/delete-s3-sqs-policies branch April 19, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant