Enhance the `whoami` command to also show the credentials restrictions
Metadata
Current evaluation
Enhancement delivered: `whoami` now displays Charmhub credential restrictions (channels/packages). Closed as fixed by PR #612 (CRAFT-651), merged at commit e69d3755, which also updated craft-store for the new API fields.
Resolution: closed resolved
Reason: Maintainer sergiusens closed the issue with "Fixed in #612"; PR #612 "Show more information about current credentials in the whoami command (CRAFT-651)" was merged into charmcraft at commit e69d3755, adding the credential restriction details once Charmhub's API exposed them.
Evaluated by: mr-cal-bot
No scores available.
Issue body
That is, for which channels/packages/tll was restricted when credentials were requested to Charmhub.
Note that Charmhub still needs to enhance the API to include that data (tracked [here](https://bugs.launchpad.net/snapstore-server/+bug/1950680)).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Enhancement delivered: `whoami` now displays Charmhub credential restrictions (channels/packages). Closed as fixed by PR #612 (CRAFT-651), merged at commit e69d3755, which also updated craft-store for the new API fields. | |
| stealth/space-bunny-alpha | — | closed resolved | Credential restrictions were added to whoami by merged PR #612 at commit e69d3755, showing the Charmhub channels, packages, permissions, and TTL for current credentials. | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged PR canonical/charmcraft#612 at commit e69d3755, adding Charmhub credential restrictions and related details to whoami output. | |
| stealth/space-bunny-alpha | — | closed resolved | Credential restrictions were added to whoami by merged PR canonical/charmcraft#612 at commit e69d3755. | |
| stealth/space-bunny-alpha | — | closed resolved | Added Charmhub credential restrictions to whoami; merged in canonical/charmcraft#612 at commit e69d3755. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented credentials restriction display in the whoami command. The enhancement was merged in pull request #612 following necessary Charmhub API updates. | |
| qwen/qwen3.6-35b-a3b | — | — | Enhanced the whoami command to display credentials restrictions for channels, packages, and tll. The change was merged via pull request #612, resolving the feature request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The whoami command was enhanced to display credentials restrictions. The feature was implemented and resolved in pull request #612 following required upstream API updates. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#612
(confidence 97%)
Merged PR implementing the whoami credential restriction display, referenced in the closing comment.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #612 Show more information about current credentials in the whoami command (CRAFT-651). | charmcraft | merged | Merged in charmcraft#612 via e69d3755, expanding whoami to show credential details and updating craft-store for minor API changes. | |
| #1904 fix(store): make "whoami" work with charm-scoped credentials | charmcraft | merged | Merged PR charmcraft#1904 (commit 5b85a11e) fixed whoami for charm-scoped credentials and closed #1869. |