Page MenuHomeDevCentral

Deploy Zemke-Rhyne on PaaS Docker
Closed, ResolvedPublic


Pending Vault deployment, we can request Salt to use Zemke-Rhyne to fetch credentials.

An example is at D1677:

{% set db_username = salt['']('ssh -4 -i /etc/zr/id_zr getcredentials 47 username') %}
{% set db_password = salt['']('ssh -4 -i /etc/zr/id_zr getcredentials 47') %}


  • create the /etc/zr/id_zr key
  • provide a zr wrapper to run zr getcredentials... instead of the ssh call

Nice to have but not in plan as long as we don't use ZR on a lot of servers:

  • upload /etc/zr/id_zr key to DevCentral (needs an arc command for that)
  • make zR data/servers.json a templated file to add our servers block and keys