Skip to content

← All questions

How do people keep real passwords out of a users.csv that has to be committed?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Our pool CSV has a plaintext password column and security review flagged it, fairly. Options I can see are all bad:

  • gitignore the file, and every new joiner spends an afternoon working out why nothing runs
  • one shared password nobody minds leaking, which is a lie we will forget we told
  • generate the file in CI, and lose the ability to run anything locally

Is there a fourth thing?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related