Skip to content

feat: add IAM access key browser and rotation#49

Open
YoungJinJung wants to merge 1 commit intomainfrom
feat/iam-access-key-rotation
Open

feat: add IAM access key browser and rotation#49
YoungJinJung wants to merge 1 commit intomainfrom
feat/iam-access-key-rotation

Conversation

@YoungJinJung
Copy link
Copy Markdown
Contributor

@YoungJinJung YoungJinJung commented Mar 28, 2026

Summary

Add IAM Access Key browser and rotation workflow to unic TUI.

  • Access Key Browser: List IAM access keys with status, age, and last-used date. Keys older than 90 days are highlighted with a warning indicator.
  • Access Key Rotation: Full rotation workflow — create new key → copy/apply to ~/.aws/credentials → verify with STS GetCallerIdentity → deactivate old key → delete old key.
  • Clipboard support: Copy new key as export commands for quick terminal use.
  • Auth-aware apply: Auto-applies new credentials to ~/.aws/credentials for credential-based auth profiles, with verification step before allowing old key deactivation.

Related Issues

Closes #27

Validation

  • make test passes — unit tests added for IAM service layer, app update logic, config auth type, domain catalog, and credentials file management.
  • make build succeeds.
  • Manual TUI testing of full rotation flow (list → detail → rotate → verify → deactivate → delete).

Checklist

  • Scope is focused
  • Docs updated (README updated with IAM features and key bindings)
  • Tests/validation included
  • Breaking changes documented (none)

- Add IAM Access Key list view with status, age, and last-used date
- Add Access Key rotation workflow: create → verify/apply → deactivate → delete
- Auto-apply new key to ~/.aws/credentials for credential-based auth
- Add clipboard support for copying new key as export commands
- Highlight aged keys (>90 days) with warning indicator
- Add confirmation prompt requiring key ID input before rotation
- Update README with IAM features and key bindings
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.

feat: Add IAM access key rotation support (M3.3)

1 participant