Skip to content

CLI tool to monitor and report GitLab token expiration dates across personal, group, and project access tokens

License

Notifications You must be signed in to change notification settings

sgaunet/gitlab-token-expiration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release Go Report Card GitHub Downloads Test Coverage GoDoc Linter Release Snapshot License

gitlab-token-expiration

This tool lists all sort of expirable tokens of gitlab projects, gitlab groups and the gitlab personal access token. The purpose of this tool is to give an overview of the expiration date of the tokens.

Getting started

Example:

$ export GITLAB_TOKEN=yourtoken
# export GITLAB_URI=https://your-instance-of-gitlab.com  # optional if you are using another gitlab instance
$ gitlab-token-expiration -h

Development

This project is using :

Use task to compile/create release...

$ task
task: [default] task -a
task: Available tasks for this project:
* build:            Build the binary
* default:          List tasks
* doc:              Start godoc server
* release:          Create a release
* snapshot:         Create a snapshot release

Installation

From releases

Download the latest release from the release page and install it in your PATH.

Homebrew

brew tap sgaunet/homebrew-tools
brew install sgaunet/tools/gitlab-token-expiration

About

CLI tool to monitor and report GitLab token expiration dates across personal, group, and project access tokens

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  

Languages