This app will take a vars file suitable for use in Concourse pipelines or in BOSH commands.
- Make sure you have
go>=1.10
installed. - Make sure you have
dep
installed. - Clone this repository.
- From the repository directory, run
dep ensure
. - Run the tests:
go test ./...
- Build the app:
go build
$ ./vars-to-credhub --prefix /concourse/main --vars-file vars.yml > bulk-import.yml
$ credhub bulk-import --file bulk-import.yml