github.com/Venafi/vcert/v5@v5.10.2/examples/playbook/sample.multi.yaml (about) 1 # This is an unlikely scenario. Mostly to showcase the tool capabilities. 2 config: 3 connection: 4 type: tpp 5 url: https://my.tpp.instance.company.com 6 trustBundle: /path/to/my/trustbundle.pem 7 credentials: 8 accessToken: '{{ Env "TPP_ACCESS_TOKEN" }}' 9 refreshToken: '{{ Env "TPP_REFRESH_TOKEN" }}' 10 clientId: vcert-sdk 11 certificateTasks: 12 - name: myCertificate # Task Identifier, no relevance in tool run 13 renewBefore: 31d 14 request: 15 csr: local 16 subject: 17 # Templating needs to go between single quotes to avoid issues when refreshing tokens and saving back 18 commonName: '{{ Hostname | ToLower -}}.{{- Env "USERDNSDOMAIN" | ToLower }}' 19 country: US 20 locality: Salt Lake City 21 state: Utah 22 organization: Venafi Inc 23 orgUnits: 24 - engineering 25 - marketing 26 zone: "Open Source\\vcert" 27 installations: 28 - format: PEM 29 file: "/path/to/my/certificate/cert.cer" 30 chainFile: "/path/to/my/certificate/chain.cer" 31 keyFile: "/path/to/my/certificate/key.pem" 32 afterInstallAction: "echo Success!!!" 33 - format: JKS 34 file: "/path/to/my/certificate/cert.jks" 35 jksAlias: venafi 36 jksPassword: foobar123 # Minimum six characters length 37 afterInstallAction: "echo Success!!!" 38 - format: PKCS12 39 file: "/path/to/my/certificate/cert.p12" 40 afterInstallAction: "echo Success!!!"