Skip to content

Instantly share code, notes, and snippets.

View teamblack-ci's full-sized avatar

ePages Team Black CI Bot teamblack-ci

View GitHub Profile
@teamblack-ci
teamblack-ci / 00-update-vault.sh
Last active July 13, 2024 09:44
Let's Encrypt certificate management using Certbot and Vault
#!/bin/sh
#
# Perform certificate updates in Vault.
set -eo pipefail
if ! vault token lookup > /dev/null; then
echo "Login to Vault first."
exit 1
fi