blinkt-vault-controller

command module
v0.0.0-...-f5e53db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 6 Imported by: 0

README

A Vault Controller for the Pimoroni Blinkt!

A simple way to physically/visually display the seal status of a HashiCorp Vault server by using a Pimoroni Blinkt!.

The Blinkt is a low-profile strip of eight super-bright, color LED indicators that plugs directly onto the Raspberry Pi's GPIO header. Several available software libraries make it easy to control the color and brightness of each LED independently.

How It Works

This little tool will fetch the health and seal status from the Vault server and will display the status using the Blinkt! LEDs. When sealed the LEDs are turned red, when unsealed they will show a green color. During the unsealing process, a portion of the LEDs will turn green for each entered key, until the required treshold is reached and the Vault is unsealed.

Acknowledgements

Based on the blinkt-k8s-controller of @apprenda, this project draws inspiration and borrows heavily from the work done by @alexellis on Docker on Raspberry Pis and his Blinkt Go libraries, themselves based on work by @gamaral for using the /sys/ fs interface instead of special libraries or elevated privileges to /dev/mem on the Raspberry Pi.

Requirements

Physically install a Pimoroni Blinkt on a Raspberry Pi you want to use for display. No additional sofware or setup is required for the Blinkt.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pgk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL