feat: access key rotation and policy management commands#81
Merged
designcode merged 7 commits intomainfrom Apr 9, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
148dd9f to
f1868e8
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 89570b8. Configure here.
MantasMiksys
approved these changes
Apr 9, 2026
|
🎉 This PR is included in version 2.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
access-keys rotatecommand to rotate an access key's secret with confirmation promptaccess-keys attach-policy,detach-policy, andlist-policiescommands to manage IAM policies on access keys (with interactive policy selection when--policy-arnis omitted)iam policies link-key,unlink-key, andlist-keyscommands for managing access keys from the policy side (with interactive selection for both policy and key)iam policies getdisplaying attached users as[object Object]Test plan
tigris access-keys rotate <id> --yesrotates the key and displays the new secrettigris access-keys attach-policy <id>shows interactive policy picker (excludes already-attached)tigris access-keys detach-policy <id>shows interactive picker of attached policies, confirms before detachingtigris access-keys list-policies <id>lists attached policies in table/jsontigris iam policies link-keyinteractive flow: pick policy → pick unlinked key → linkstigris iam policies unlink-keyinteractive flow: pick policy → pick linked key → confirms → unlinkstigris iam policies list-keys <arn>lists attached keys with Name/ID columnstigris iam policies get <arn>displays attached users correctly asname (id)--jsonoutput format🤖 Generated with Claude Code
Note
Medium Risk
Adds new IAM- and credential-management CLI commands (policy attach/detach/link and access-key secret rotation) that directly change permissions and invalidate secrets, so mistakes could impact access for users. Behavior depends on updated
@tigrisdata/iamAPIs and new interactive flows/confirmations.Overview
Adds new CLI commands for access-key and IAM policy management:
access-keys rotate(with confirmation and one-time secret output), plusaccess-keys attach-policy,detach-policy, andlist-policiesincluding interactive selection when ARNs aren’t provided.Extends
iam policieswithlink-key,unlink-key, andlist-keysto manage access key attachments from the policy side, and refactors policy selection into a sharedselectPolicyhelper. Updatesiam policies getto render attached users asname (id)instead of printing objects, and bumps@tigrisdata/iamfrom^1.4.1to^2.1.0to support the new functionality.Reviewed by Cursor Bugbot for commit 89570b8. Bugbot is set up for automated code reviews on this repo. Configure here.