-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathsample.capi.yaml
33 lines (32 loc) · 1.09 KB
/
sample.capi.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
32
33
config:
connection:
platform: tpp
url: https://my.tpp.instance.company.com # URL to TPP instance
trustBundle: /path/to/my/trustbundle.pem # Optional TrustBundle for TPP connection
credentials:
accessToken: '{{ Env "TPP_ACCESS_TOKEN" }}'
refreshToken: '{{ Env "TPP_REFRESH_TOKEN" }}'
certificateTasks:
- name: MSSQL TLS Certificate
renewBefore: 31d
request:
csr: local
subject:
# Templating needs to go between single 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
sanDNS:
- '{{ Hostname | ToLower -}}.{{- Env "USERDNSDOMAIN" | ToLower }}'
- sqldb.example.com
zone: "Open Source\\vcert"
installations:
- format: CAPI
capiLocation: LocalMachine\MY
capiFriendlyName: Venafi vCert Managed - MSSQL TLS
capiIsNonExportable: True