gleam icon indicating copy to clipboard operation
gleam copied to clipboard

`gleam publish` should be able to use a long-lived hex api key to auth publishing to hex.

Open Skenvy opened this issue 10 months ago • 2 comments

At the moment the gleam publish command requires HEXPM_USER and HEXPM_PASS to authorise publishing. It would be nice to not require the user password to need to be used for this, instead making available a preferred option of a hex api key ~ HEXPM_API_KEY ~ so that users can manage their own long lived API keys if they prefer.

Skenvy avatar Mar 26 '24 02:03 Skenvy

I would like to start working on this. -- an initial cut https://github.com/gleam-lang/gleam/compare/main...Skenvy:gleam:hexpm_api_key?expand=1

Skenvy avatar Mar 26 '24 02:03 Skenvy

Fab! Thank you!

lpil avatar Mar 26 '24 10:03 lpil

Should this be closed now?

TomBinford avatar Jun 15 '24 22:06 TomBinford

Thank you

lpil avatar Jun 16 '24 14:06 lpil