support `charmcraft export-login`
Metadata
Current evaluation
Charmcraft added credential export through charmcraft login --export, released in v1.5 via merged PR #602 (commit f0e57248), rather than as a separate export-login command.
Resolution: closed resolved
Reason: Merged PR #602 added login --export, and a maintainer confirmed the capability was released in v1.5. PR #760 later refined the exported credentials to be ephemeral.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Hello,
We are wondering how we can create a release system for our charms?
Can `charmcraft` gain `export-login` functionality similar to snapcraft?
Thanks
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Charmcraft added credential export through charmcraft login --export, released in v1.5 via merged PR #602 (commit f0e57248), rather than as a separate export-login command. | |
| stealth/space-bunny-alpha | — | closed resolved | Credential export for Charmcraft login was added in canonical/charmcraft#602 (f0e57248) and released in v1.5, supporting CI/CD authentication. | |
| stealth/space-bunny-alpha | — | closed resolved | Implemented charmcraft export-login for saving credentials in remote CI/CD environments. Merged in canonical/charmcraft#602 (f0e57248) and released in Charmcraft v1.5. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented and released in charmcraft v1.5. The export-login feature now supports CI/CD authentication workflows, matching snapcraft functionality. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented export-login functionality to enable automated authentication for charm release workflows. The feature was released in charmcraft version 1.5. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented and released in version 1.5, the charmcraft export-login feature enables credential export for remote environments, resolving the original request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented charmcraft export-login functionality to enable remote environment authentication. The feature was released in version 1.5. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#602
(confidence 99%)
Merged PR that added credential export to the login command.
-
Related To:
canonical/charmcraft#760
(confidence 90%)
Later changed login --export credentials to be ephemeral.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1050 cli: add how to use exported credentials in help | charmcraft | merged | Merged #1050 added login help showing how to load exported Charmhub credentials through CHARMCRAFT_AUTH; implemented in commit 9d0957ee. | |
| #602 Added an export option to login to save the obtained credentials (CRAFT-641). | charmcraft | merged | Merged #602 via commit f0e57248, adding login --export support to save obtained credentials and implementing CRAFT-641. | |
| #778 Exported login does not support allowing bundle access | charmcraft | closed | Exported credentials failed to upload bundles due to a Charmhub server-side permissions bug, not charmcraft. Maintainer filed Launchpad bug #1977727; the fix was released in Charmhub by 5 Sep 2022 and the issue was closed. | |
| #741 charmcraft environment var not mention in help for store commands | charmcraft | closed | Added help text explaining how to use the value produced by `charmcraft login --export` (setting CHARMCRAFT_AUTH), via commit 9d0957ee, referenced in the closing comment. |