Install SOPS
brew sops install
Following tutorial at:
sops secrets.env # edit in vim to create production_bosh_ip
vim nats.md # write run book
Then commit and push
Run runbook
sops exec-env secrets.env 'bash'
...
$ echo credhub generate -n /toolingbosh/productionbosh/uaa_ssl -t certificate --ca /toolingbosh/productionbosh/default_ca --common-name ${production_bosh_ip} --alternative-name production-bosh-bosh-director --alternative-name ${production_bosh_ip}
credhub generate -n /toolingbosh/productionbosh/uaa_ssl -t certificate --ca /toolingbosh/productionbosh/default_ca --common-name 10.1.2.3 --alternative-name production-bosh-bosh-director --alternative-name 10.1.2.3