Simple Go app for notifying via Pushover. Intended to be used in a shutdown script from a GCP instance. Looks up credentials from a Secret Manager secret.
abandonship -s <secret-name> -m '<message>' [-v <secret-version>]
- The runtime environment has default credentials set with
cloud-platform
scope - The secret content is a YAML document with
token
anduser
keys set
Because looking up secrets to fetch Pushover credentials and using the credentials to send a message on shutdown doesn't seem to be reliable when done with Bash.