Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions examples/customfield.pem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
config:
connection:
platform: tpp
url: https://my.tpp.instance.company.com # URL to TPP instance
trustBundle: 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
renewBefore: 31d
setEnvVars: ["thumbprint", "serial"] #will set environment variables VCERT_TASKNAME_THUMBPRINT and VCERT_TASKNAME_SERIAL
request:
csr: service
keyPassword: "newPassword!"
subject:
# Templating needs to go between single quotes to avoid issues when refreshing tokens and saving back
commonName: 'mypem.company.com'
fields:
- name: 'mycustomfield'
value: '12345'
zone: 'Certificates\Vcert'
installations:
- format: PEM
file: 'c:\vcert\tpp\windows.pem'
chainFile: 'c:\vcert\tpp\chain.cer'
keyFile: 'c:\vcert\tpp\windowskey.pem'
afterInstallAction: 'echo Success!!!'