Page MenuHomePhabricator

How to pass private env variables when deploying with harbormaster
OpenPublic

Asked by tycho.tatitscheff on Dec 6 2015, 9:58 AM.

Details

My password, secrets tokens are not versionned.
But when i deploy, I want to retrieve them (a .env file) from phabricator and add them to the repository.

Sadly I don't find a good way to do so.
I try :

  • making a new passphrase credential with secret stuff in and retrieving with conduit : however it don't works (Im having a "...,material":{"noAPIAccess":"This private material for this credential is not accessible via API calls."}... inside the json response.
  • making a unmerged diff and arc patching evrytime, however its not really secret or so
  • retrieving from a paste : maybe the best solution so far

Maybe I could do completely else. Maybe a versionned git submodules with right rights.
What are you advising me ?