Skip to content

Instantly share code, notes, and snippets.

View jarheadjred's full-sized avatar

Jared Olhoft jarheadjred

View GitHub Profile
@allthingsclowd
allthingsclowd / AWS-AutoUnseal-HashiCorp-Vault.md
Last active February 6, 2023 10:24
HashiCorp Vault AWS KMS AutoUnseal Key Rotation Example (all keys are obsolete - just a demo)

A Walk through of Key Rotation of a HashiCorp VAULT cluster using AWS KMS to AutoUnseal

PGP (Keybase) is used to encrypt the recovery keys

Built base environment using HashiCorp's Learn Website

ubuntu@ip-192-168-100-194:~$ export VAULT_ADDR=http://127.0.0.1:8200

ubuntu@ip-192-168-100-194:~$ vault status
@koehn
koehn / txt
Created March 7, 2016 20:02
Fix Mac Docker
Run the Docker Quickstart Terminal app
Run docker-machine restart default
Run eval $(docker-machine env default)
@nloadholtes
nloadholtes / docker_gui_apps_linux_mint
Created May 24, 2015 04:02
Getting ubuntu 14/Linux Mint 17 to show GUI apps from Docker
Newer version of Ubuntu (and Linux mint) have .Xauthority and that will interfere with your ability to run X11 apps from a docker container. Here's how you get around that:
docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --net=host -v $HOME/.Xauthority:/root/.Xauthority <and the rest of your docker string...>