Skip to content

Instantly share code, notes, and snippets.

@prologic
Created December 4, 2021 02:49
Show Gist options
  • Save prologic/64725ae334b143dbd3b2fcd51fd137ca to your computer and use it in GitHub Desktop.
Save prologic/64725ae334b143dbd3b2fcd51fd137ca to your computer and use it in GitHub Desktop.
General yarnd secrets
#!/bin/sh
random_string() {
tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 64 | head -n 1
}
echo " - API_SIGNING_KEY=$(random_string)"
echo " - COOKIE_SECRET=$(random_string)"
echo " - MAGICLINK_SECRET=$(random_string)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment