I hereby claim:
- I am thiago-scherrer on github.
- I am thiagoscherrer (https://keybase.io/thiagoscherrer) on keybase.
- I have a public key ASAy3rXZ6YNp1pFy-xJuBzruG6K1TXBzdUCtSGh1ajo9Jwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Generate JWT for Github App | |
# | |
# Inspired by implementation by Will Haley at: | |
# http://willhaley.com/blog/generate-jwt-with-bash/ | |
# From: | |
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting | |
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
aws s3api create-bucket --bucket ${BUCKET_NAME} --region ${REGION} \
--create-bucket-configuration \
LocationConstraint=${REGION}