Skip to content

SD Get Install Token REST API

Endi S. Dewata edited this page Apr 1, 2024 · 2 revisions

Request

  • Path: /ca/rest/securityDomain/installToken

  • Method: GET

  • Authentication: Required (see PKI Login REST API)

  • Query Parameters:

    • hostname: Hostname (must resolve to an IP address)

    • subsystem: Subsystem type (e.g. CA, KRA)

Response

$ curl \
    -k \
    -s \
    --cookie cookies \
    "https://localhost.localdomain:8443/ca/rest/securityDomain/installToken?hostname=pki.example.com&subsystem=CA" | python -m json.tool
{
    "token": "1409886579209062320"
}
Clone this wiki locally