Simple command line tool helper to integrate with hashicorp vault & github api

Overview

  • CI/CD Toolkit is small command line tool helper to integrate with vault secret kv management & github api
  • We can use simple command to generate json/env/raw text file from vault secret kv
  • Or to verify github PR approval status and then merge PR if pull request approval is validated

Build

make build

it will build two binaries, binary file for linux and binary based on local OS

Generate json file from vault

./cmd/toolkit/toolkit  -vault -output=conf.json -secret=vaultkv/data/yourdata

Generate env file from vault

./cmd/toolkit/toolkit  -vault  -env -secret=vaultkv/data/envdata

Generate raw text file from vault

./cmd/toolkit/toolkit  -vault  -raw -secret=vaultkv/data/rawtextfile

Verify github PR approval

./cmd/toolkit/toolkit -approval -repo=ujunglangit-id/some-repo -id=23

Merge github pull request

./cmd/toolkit/toolkit -merge -repo=ujunglangit-id/some-repo -id=23

Merge squash github pull request

./cmd/toolkit/toolkit  -debug -squash -repo=ujunglangit-id/some-repo -id=23

Hashicorp vault secret kv management


https://www.vaultproject.io/api-docs

Github api integration for pr status check & merging


https://docs.github.com/en/rest/reference/pulls
Owner
M Azwar Nurrosat
Your friendly neighborhood Software Engineer
M Azwar Nurrosat
Similar Resources

Watcher - A simple command line app to watch files in a directory for changes and run a command when files change!

Watcher - Develop your programs easily Watcher watches all the files present in the directory it is run from of the directory that is specified while

Mar 27, 2022

github stats from the command line

github stats from the command line

Retrieve GitHub statistics per username from the command line: no need to open the browser anymore!

Sep 8, 2022

A command-line to create a pull request to review the entire content of a Github repository.

Pull Request Me Pull Request Me (PRMe) creates a pull request for the entire content of a Github repository. This is useful to solicit review comments

Nov 2, 2021

GitHub on the command line with golang

GitHub on the command line with golang

GitHub CLI gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already

Dec 31, 2021

gh is GitHub on the command line

gh is GitHub on the command line

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

Nov 10, 2021

Gh: GitHub on the command line

Gh: GitHub on the command line

GitHub CLI gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already

Jan 5, 2022

A command line utility for labeling GitHub issues and pull requests

A command line utility for labeling GitHub issues and pull requests

Jan 8, 2023

Command-line utility to grab Github gists from your own account.

Command-line utility to grab Github gists from your own account.

gistfetch Command-line utility to grab Github gists from your own account. How do I use this? Add an API token with permissions to read Gists Fetch th

Dec 14, 2021

gh is GitHub on the command line.

gh is GitHub on the command line.

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

Mar 22, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Dec 31, 2022
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command
git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command. You give git-xargs:

Feb 5, 2022
An open-source GitLab command line tool bringing GitLab's cool features to your command line
An open-source GitLab command line tool bringing GitLab's cool features to your command line

GLab is an open source GitLab CLI tool bringing GitLab to your terminal next to where you are already working with git and your code without switching

Dec 30, 2022
A command line tool to prompt for a value to be included in another command line.

readval is a command line tool which is designed for one specific purpose—to prompt for a value to be included in another command line. readval prints

Dec 22, 2021
UltiTuner: a small helper tool to configure functions for Ultimaker S-Line printers

UltiTuner UltiTuner is a small helper tool to configure functions for Ultimaker

Apr 25, 2022
Package command provide simple API to create modern command-line interface

Package command Package command provide simple API to create modern command-line interface, mainly for lightweight usage, inspired by cobra Usage pack

Jan 16, 2022
GitHub’s official command line tool
GitHub’s official command line tool

GitHub CLI gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already

Jan 7, 2023
Simple command line Github Search

ghs is a simple command line tool which will open the corresponding url for your github search in your default web browser.

Nov 10, 2021
Vaku is a CLI and API for running path- and folder-based operations on the Vault Key/Value secrets engine.
Vaku is a CLI and API for running path- and folder-based operations on the Vault Key/Value secrets engine.

Vaku Vaku is a CLI and API for running path- and folder-based operations on the Vault Key/Value secrets engine. Vaku extends the existing Vault CLI an

Nov 28, 2022
A command line tool for simplified docker volume command built with go

dockervol A command line tool for simplified docker volume command built with go. Features: Remove anonymous volume (beta) Remove volume by matching n

Dec 18, 2021