View setup.sh
#! /bin/bash | |
# | |
# Requires jq - see https://stedolan.github.io/jq/ | |
# | |
# Assumes that the following env vars are set: | |
# | |
# CLIENT_ID - the client ID for your OAuth 2 app | |
# JWT_KEY_FILE - path to the private key for creating a JWT | |
# HUB_USERNAME - authentication username |