I am working for a software corp. ‘Github’ is the code repo for our company. For the authentication of corp internal github, ‘personal access token’ is used. There is a token is generated in github personal setting. And use the token with below command.
git remote add origin https://<my_token>@github.tools.corp/MY_PROG/some-micro-service.git
Recently, the security policy is changed. We cannot generate a long-term token. The token must be refreshed per-month. Due to we have to work on several mirco-services. When the token is re-generated, I have to change the setting of all these mirco-services one by one.
Is there some global place to put the token and refer it in each repo? If so, I just need change one place on my machine when the token is re-generated.