Skip to content

Instantly share code, notes, and snippets.

@charltoons
Created March 17, 2019 18:53
Show Gist options
  • Save charltoons/c4130413230b6938c066c24f0bcc0dad to your computer and use it in GitHub Desktop.
Save charltoons/c4130413230b6938c066c24f0bcc0dad to your computer and use it in GitHub Desktop.
Adding a private key file to a Now.sh Secret
MY_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nABC...123=\n-----END PRIVATE KEY-----\n"
now secret add my-private-key $(echo $MY_PRIVATE_KEY | base64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment