This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |