Skip to content

Notify via Pushover with credentials in GCP secrets

Notifications You must be signed in to change notification settings

femnad/abandonship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Notify via Pushover with credentials in GCP secrets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages