Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: get PAUSE credentials from environment variables #325

Closed
skaji opened this issue Feb 7, 2023 · 0 comments
Closed

Feature request: get PAUSE credentials from environment variables #325

skaji opened this issue Feb 7, 2023 · 0 comments

Comments

@skaji
Copy link
Collaborator

skaji commented Feb 7, 2023

I'm using 1password, and I store my PAUSE credentials in it.

If Minilla::Release::UploadToCPAN supports getting PAUSE credentials from environment variables,
then I don't need to store PAUSE credentials in ~/.pause anymore and I can release CPAN modules by:

export PAUSE_USERNAME=op://Personal/pause/usernameexport PAUSE_PASSWORD=op://Personal/pause/password

# "op" is a CLI of 1password,
# which runs "minil release" with PAUSE_USERNAME/PAUSE_PASSWORD references
# replaced with their corresponding secret value.op run -- minil release

ref rjbs/Dist-Zilla#720
#309

@skaji skaji closed this as completed Oct 22, 2023
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

No branches or pull requests

1 participant