github.com/Venafi/vcert/v5@v5.10.2/examples/playbook/sample.jks.yaml (about)

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