0

I have a front-end build and deploy that I want to run on circleci with node. The deploy part needs a config file with api keys and passwords which I don't want to store in git. How do I add a config file to my build?

marcnewport
  • 91
  • 10

1 Answers1

1

disclaimer: Developer Evangelist at CircleCI.

The CircleCI config file itself would be stored in Git. API keys, passwords, and secrets you'd store in private environment variables via the CircleCI UI.

FelicianoTech
  • 3,894
  • 2
  • 13
  • 18
  • Not the circleci config itself, another config file needed by a node package for the deploy process – marcnewport Mar 14 '18 at 01:08
  • Same idea. If it's small enough, base64 encode and store in private environment variable. If it's not, store only the secret bits or encrypt the file and store the key in a private environment variable. – FelicianoTech Mar 14 '18 at 12:42