An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![GitHub release](https://img.shields.io/github/release/sgaunet/gitlab-token-expiration.svg)](https://github.com/sgaunet/gitlab-token-expiration/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/sgaunet/gitlab-token-expiration)](https://goreportcard.com/report/github.com/sgaunet/gitlab-token-expiration)
![GitHub Downloads](https://img.shields.io/github/downloads/sgaunet/gitlab-token-expiration/total)
![Test Coverage](https://raw.githubusercontent.com/wiki/sgaunet/gitlab-token-expiration/coverage-badge.svg)
[![GoDoc](https://godoc.org/github.com/sgaunet/gitlab-token-expiration?status.svg)](https://godoc.org/github.com/sgaunet/gitlab-token-expiration)
[![License](https://img.shields.io/github/license/sgaunet/gitlab-token-expiration.svg)](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
```