legacy-onyxia-entrypoint icon indicating copy to clipboard operation
legacy-onyxia-entrypoint copied to clipboard

Personal access token

Open marchufschmitt opened this issue 4 years ago • 2 comments

  • [ ] Add Gitlab Personal access token
  • [ ] Be able to use personal access tokens (Github, Kaggle, Gitlab)

marchufschmitt avatar Jul 05 '21 08:07 marchufschmitt

It would be great if one could add personnal access tokens from several repositories (github.com, gitlab.com, ...) and to name them accordingly. For instance, it'd be nice to have the my account --> external services menu suggest :

================================================================= Connect your Gitlab, Github and Kaggle accounts

Connect your services to external accounts using personal access tokens and environment variables

Git repo name Personal access token Environement variable actions
github.com ************************ $GIT_PERSONAL_ACCESS_TOKEN (default) 👁️ 🖊️
gitlab.com ************************ $GITLAB_PERSONAL_ACCESS_TOKEN 👁️ 🖊️
gitlab.my_company.com ************************ $GITLAB_MY_ENTERPRISE_PERSONAL_ACCESS_TOKEN 👁️ 🖊️

odysseu avatar Jun 20 '22 11:06 odysseu

Hi,
Thanks for the suggestion.
Github is a special token, it allows to automatically clone private token.
For the more generic token you can use the "My secrets". The secret you create there can be made available as environment variable in your services.
Have you tried that?

garronej avatar Jun 20 '22 12:06 garronej