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

     1  config:
     2    connection:
     3      platform: tpp
     4      url: https://my.tpp.instance.company.com # URL to TPP instance
     5      credentials:
     6        accessToken: '{{ Env "TPP_ACCESS_TOKEN" }}'
     7        refreshToken: '{{ Env "TPP_REFRESH_TOKEN" }}'
     8        clientId: vcert-sdk
     9  certificateTasks:
    10    - name: myCertificate # Task Identifier, no relevance in tool run
    11      renewBefore: 31d
    12      request:
    13        csr: local
    14        subject:
    15          # Templating needs to go between single quotes to avoid issues when refreshing tokens and saving back
    16          commonName: '{{ Hostname | ToLower -}}'
    17          country: US
    18          locality: Salt Lake City
    19          state: Utah
    20          organization: Venafi Inc
    21        zone: "Open Source\\vcert"
    22      installations:
    23        - format: PKCS12
    24          file: "/path/to/my/certificate/cert.p12"
    25          p12Password: "5uperSecr3t5!"