As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • 608-improve-gitlab-shell-logging-structure
  • ashmckenzie/update-golangci-setup
  • 762_use_workhorse_ssh_endpoint
  • fix-issue-708
  • id-use-workhorse-git-ssh-rpc
  • ashmckenzie/debug-yamux-issues
  • ag-remove-geo-ffs
  • aakriti.gupta-main-patch-64039
  • ashmckenzie/gssapi-fixes
  • 671-race-golang-1-x-failed-with-stdin-send-error-eof
  • igor.drozdov-main-patch-82081
  • ashmckenzie/include-metadata-in-access-finish-log-line
  • 660-job-failed-4563144016
  • id-bump-logrus
  • sh-ssh-certificates
  • tmp-geo-push-poc
  • igor.drozdov-main-patch-40896
  • tmp-kerberos-testing
  • id-test-agains-1.19
  • v14.39.0
  • v14.38.0
  • v14.37.0
  • v14.36.0
  • v14.35.0
  • v14.34.0
  • v14.33.0
  • v14.32.0
  • v14.31.0
  • v14.30.1
  • v14.30.0
  • v14.29.0
  • v14.28.0
  • v14.27.0
  • v14.26.0
  • v14.25.0
  • v14.24.1
  • v14.24.0
  • v14.23.0
  • v14.22.0
40 results

client.go

  • Taylan Develioglu's avatar
    b8d66d79
    Add support obtaining personal access tokens via SSH · b8d66d79
    Taylan Develioglu authored
    Implements the feature requested in gitlab-org/gitlab#19672
    
    This requires the internal api counterpart in gitlab-org/gitlab!36302 to
    be merged first.
    
    It can be used as follows:
    ```
    censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token
    remote:
    remote: ========================================================================
    remote:
    remote: Usage: personal_access_token <name> <scope1[,scope2,...]> [ttl_days]
    remote:
    remote: ========================================================================
    remote:
    
    censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token newtoken read_api,read_repository 30
    Token:   aAY1G3YPeemECgUvxuXY
    Scopes:  read_api,read_repository
    Expires: 2020-08-07
    ```
    b8d66d79
    History
    Add support obtaining personal access tokens via SSH
    Taylan Develioglu authored
    Implements the feature requested in gitlab-org/gitlab#19672
    
    This requires the internal api counterpart in gitlab-org/gitlab!36302 to
    be merged first.
    
    It can be used as follows:
    ```
    censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token
    remote:
    remote: ========================================================================
    remote:
    remote: Usage: personal_access_token <name> <scope1[,scope2,...]> [ttl_days]
    remote:
    remote: ========================================================================
    remote:
    
    censored@censored-VirtualBox:~/git/gitlab$ ssh git@gitlab-2004 personal_access_token newtoken read_api,read_repository 30
    Token:   aAY1G3YPeemECgUvxuXY
    Scopes:  read_api,read_repository
    Expires: 2020-08-07
    ```
Code owners
Assign users and groups as approvers for specific file changes. Learn more.