You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/10/06 09:17:00 UTC

[jira] [Comment Edited] (WAGON-630) Auto-update repository access tokens

    [ https://issues.apache.org/jira/browse/WAGON-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613390#comment-17613390 ] 

Michael Osipov edited comment on WAGON-630 at 10/6/22 9:16 AM:
---------------------------------------------------------------

I checked the extension from OneGeek: Good solution. I don't have any objections with this.


was (Author: michael-o):
I checked the extension from OneGeek: Good solution. I don't have any objections for this.

> Auto-update repository access tokens
> ------------------------------------
>
>                 Key: WAGON-630
>                 URL: https://issues.apache.org/jira/browse/WAGON-630
>             Project: Maven Wagon
>          Issue Type: New Feature
>          Components: wagon-http, wagon-http-lightweight
>            Reporter: Steve Mitchell
>            Priority: Major
>
> Support hands-free access to [repositories |https://stackoverflow.com/questions/73950826/setting-dynamic-password-from-maven]that authenticate with short-lived access tokens.  When needed, call out to a configured shell script to update a configured system property with the repo's temporary password.
> Implementation ideas: Receive from the shell script's stdout the content of a Java properties file.  Use a TTL property received from the shell script to set an expiration property – call the shell script only when the expiration property doesn't exist or will soon pass.  For security, prepend a configured prefix to the name of each system property to be set.
> Document the configuration parameters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)