github.com/Venafi/vcert/v5@v5.10.2/examples/playbook/sample.firefly.client-secret.yaml (about)

     1  config:
     2    connection:
     3      credentials:
     4        tokenURL: https://dev.okta.com/oauth2/abc123/v1/token # URL of the OAuth provider
     5        clientId: '{{ Env "CLIENT_ID" }}'
     6        clientSecret: '{{ Env "CLIENT_SECRET" }}'
     7        scope: okta.myAccount.appAuthenticator.maintenance.manage
     8      platform: FIREFLY
     9      trustBundle: /path/to/my/trustbundle.pem # Trust bundle of the Firefly server
    10      url: https://192.168.1.234:8080 # Firefly URL
    11  certificateTasks:
    12    - name: myTask
    13      renewBefore: 10%
    14      request:
    15        csr: service
    16        keyType: ecdsa
    17        keyCurve: p256
    18        sanDNS:
    19          - my.demo.example
    20        subject:
    21          commonName: my.demo.example
    22        zone: open-source-unrestricted
    23      installations:
    24        - format: PEM
    25          file: "/path/to/my/certificate/cert.cer"
    26          chainFile: "/path/to/my/certificate/chain.cer"
    27          keyFile: "/path/to/my/certificate/key.pem"
    28          afterInstallAction: "echo Success!!!"