Which characters not to include in secrets?

Kevin Simper
Nov 4, 2020

--

  • Don’t include $ because that is seen as a bash variable even if you wrap your string in double quotes, it only works if escaped by single quotes.
  • Single and double quotes, just annoying to escape
  • Exclamation mark
    https://unix.stackexchange.com/questions/3747/understanding-the-exclamation-mark-in-bash
  • Backslash
  • Number sign #
    Editors in general thinks everything after is a comment
  • Equal signs
    Generally okay, as they are part of base64 etc., but try to avoid it as it is generally something with equality

--

--

Kevin Simper
Kevin Simper

Written by Kevin Simper

I really like building stuff with React.js and Docker and also Meetups ❤

No responses yet