https://github.com/sgaunet/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.
https://github.com/sgaunet/gitlab-token-expiration
expirable gitlab token tokens
Last synced: 6 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/sgaunet/gitlab-token-expiration
- Owner: sgaunet
- License: mit
- Created: 2024-11-20T19:39:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T00:01:45.000Z (7 months ago)
- Last Synced: 2025-03-21T00:26:41.005Z (7 months ago)
- Topics: expirable, gitlab, token, tokens
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/sgaunet/gitlab-token-expiration/releases/latest)
[](https://goreportcard.com/report/github.com/sgaunet/gitlab-token-expiration)


[](https://godoc.org/github.com/sgaunet/gitlab-token-expiration)
[](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:
```yaml
$ 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 :
* Golang
* [task for development](https://taskfile.dev/#/)
* [goreleaser](https://goreleaser.com/)Use task to compile/create release...
```bash
$ 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](https://github.com/sgaunet/gitlab-token-expiration/releases) and install it in your PATH.
### Homebrew
```bash
brew tap sgaunet/homebrew-tools
brew install sgaunet/tools/gitlab-token-expiration
```