diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-03-24 10:52:08 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-04-01 14:57:44 +0200 |
| commit | 6d22a6831eb5418413043ead7a454319e54995b6 (patch) | |
| tree | e54a0b1b929501eb3fd9efb73f83831f5f441acc /.bashrc | |
| parent | c6a1a4ac037709b31bfb6d37a8234dd60ca88c12 (diff) | |
Add https authentication using swf-auth-helper for git and gitlab
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -129,14 +129,6 @@ alias assume=". assume" # ==== Functions gitlab_token() { - GITLAB_TOKEN=$(pass mbition/git | grep token | awk '{ print $NF}') - export GITLAB_TOKEN -} -gitlab_su_token() { - GITLAB_TOKEN=$(pass mbition/git | grep su_token | awk '{ print $NF}') - export GITLAB_TOKEN -} -gitlab_baas_token() { - GITLAB_TOKEN=$(pass mbition/git | grep baas_token | awk '{ print $NF}') + GITLAB_TOKEN="$(swf-credential-helper shell get 'git.swf.i.mercedes-benz.com')" export GITLAB_TOKEN } |
