Skip to content

Programmeris/gitlab-token-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitLab Token Rotator

GitLab access token rotation script.

How it works

The script will run through all available groups and projects and check the expiration date of access tokens. If the token expires in less than 30 days, the script rotates it using the GitlLab API, generates a debug message and sends it to the Telegram bot.

Dependencies

The script requires the installation of the library python-gitlab to work.

You can install dependencies with the command:

pip3 install -r requirements.txt 

About

Simple Python script for rotate GitLab access tokens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages