Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 598 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 598 Bytes

abandonship

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.

Usage

abandonship -s <secret-name> -m '<message>' [-v <secret-version>]

Assumptions

  • The runtime environment has default credentials set with cloud-platform scope
  • The secret content is a YAML document with token and user keys set

Why

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.