-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathsample.jks.yaml
31 lines (31 loc) · 1.05 KB
/
sample.jks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
config:
connection:
platform: tpp
url: https://my.tpp.instance.company.com # URL to TPP instance
trustBundle: /path/to/my/trustbundle.pem # TrustBundle for TPP connection
credentials:
accessToken: '{{ Env "TPP_ACCESS_TOKEN" }}'
refreshToken: '{{ Env "TPP_REFRESH_TOKEN" }}'
clientId: vcert-sdk
certificateTasks:
- name: myCertificate # Task Identifier, no relevance in tool run
renewBefore: 31d
request:
csr: local
subject:
# Templating needs to go between quotes to avoid issues when refreshing tokens
commonName: '{{ Hostname | ToLower -}}.{{- Env "USERDNSDOMAIN" | ToLower }}'
country: US
locality: Salt Lake City
state: Utah
organization: Venafi Inc
orgUnits:
- engineering
- marketing
zone: "Open Source\\vcert"
installations:
- format: JKS
file: "/path/to/my/certificate.jks"
jksAlias: venafi
jksPassword: foobar123 # Minimum six characters length
afterInstallAction: "echo Success!!!"