Describe the feature request
I'd like an option for cabal upload to pass the token via a command. Like --password-command, but for tokens.
I am happy to implement this if the maintainers are OK with it
Additional context
My Hackage token for package upload is currently stored in plaintext in a config file. Not good. Ideally, I would use my secrets manager handle this. Ideally, my cabal config would look like:
token-command: sh -c "<fetch token from secrets manager>"
Concretely, I use 1password, so my token command would be:
token-command: sh -c "op read op://hackage/upload-token"
Describe the feature request
I'd like an option for
cabal uploadto pass the token via a command. Like--password-command, but for tokens.I am happy to implement this if the maintainers are OK with it
Additional context
My Hackage token for package upload is currently stored in plaintext in a config file. Not good. Ideally, I would use my secrets manager handle this. Ideally, my cabal config would look like:
Concretely, I use 1password, so my token command would be: