sdslabs/gitlab-controller

Name: gitlab-controller

Owner: SDSLabs

Description: Automates handling of SSH keys for Gitlab

Created: 2015-03-29 08:33:04.0

Updated: 2017-10-31 14:35:43.0

Pushed: 2017-10-31 14:35:45.0

Homepage: null

Size: 15

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gitlab-controller

This has been created to automate the task of handling ssh keys for gitlab by admin

Requirement

requests

pip install requests

Available commands are:
addkey <username> <key>
removekey <username>
changekey <username> <key>
adduser <email> <username> <password> <Full Name>
removeuser <username>

*Note:* put the sshkey in quotes as shown below
Examples

./run.py addkey asutoshpalai “ssh-rsa fkadsjfkljadskfjlkdjlkadsjfkljdasklfjkldsjfkdfjfljadsklfjladsjfkljadslkfj mail@example.com”
./run.py removekey asutoshpalai


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.