Skip to content

Instantly share code, notes, and snippets.

View micahlmartin's full-sized avatar

Micah Martin micahlmartin

View GitHub Profile
### Keybase proof
I hereby claim:
* I am micahlmartin on github.
* I am micahlmartin (https://keybase.io/micahlmartin) on keybase.
* I have a public key ASCRkVx-_BwtsLOOjlA0qZuGh3Hoppdmkxm-Fh0dDQ5oOQo
To claim this, I am signing this object:
@micahlmartin
micahlmartin / helpers.sh
Created October 20, 2023 14:58
Bash helpers
#!/bin/bash
set -eo pipefail
getSecret() {
path="$1"
vault kv get --format=json $path | jq '.data.data'
}
log_debug() {
local message="$1"