Skip to content

Account

Check your key and list the profiles you can use. See Conventions for request formats and shared rules.

Get the API key and vendor

GET/v1/me

Returns the calling key, its scopes and expiry, your vendor status and the bound client certificate. Use it to check your setup.

Scope
any valid key

Response 200

13 fields
  • keyIdstring (uuid)
  • keyNamestring
  • scopesstring[]
  • expiresAtstring

    ISO 8601 time in UTC.

  • vendorobject
  • vendor.idstring (uuid)
  • vendor.namestring
  • vendor.statusstring
  • vendor.approvedTypesstring[]
  • vendor.issueModestring | null
  • clientCertobject
  • clientCert.serialstring
  • clientCert.notAfterstring

    ISO 8601 time in UTC.

Errors

CLIENT_CERT_REQUIREDAPI_KEY_REQUIREDINVALID_API_KEYAPI_KEY_REVOKEDAPI_KEY_EXPIREDCLIENT_CERT_MISMATCHCLIENT_CERT_REVOKEDVENDOR_INACTIVERATE_LIMITED

Request
curl "$PKI_API/v1/me" \
--cert client.crt --key client.key \
-H "Authorization: Bearer $PKI_API_KEY"
Response 200
{
"keyId": "7d1f0c2a-4b5e-4c8d-9a3f-2e6b1c0d9f84",
"keyName": "Factory line 1",
"scopes": [
"vendor.read"
],
"expiresAt": "2026-12-01T09:00:00.000Z",
"vendor": {
"id": "7d1f0c2a-4b5e-4c8d-9a3f-2e6b1c0d9f84",
"name": "Solarize Issuing CA",
"status": "string",
"approvedTypes": [
"string"
],
"issueMode": null
},
"clientCert": {
"serial": "SN-0001",
"notAfter": "2026-12-01T09:00:00.000Z"
}
}

List certificate profiles

GET/v1/profiles

Profiles you can issue with: the device types your vendor is approved for.

Scope
vendor.read

Response 200

8 fields
  • dataobject[]
  • data[].idstring (uuid)
  • data[].namestring
  • data[].deviceTypestring

    rtu · ppc · module

  • data[].cnRulestring

    rtuId: CN is rtu-{RTU ID}. serial: CN is the device serial.

    rtuId · serial

  • data[].validDaysinteger

    Certificate lifetime in days.

    -9007199254740991–9007199254740991

  • data[].chipCompatboolean

    Certificates fit secure-element verification (P-256, SHA-256, size limits).

  • data[].defaultboolean

    Used when profileId is omitted.

Errors

CLIENT_CERT_REQUIREDAPI_KEY_REQUIREDINVALID_API_KEYAPI_KEY_REVOKEDAPI_KEY_EXPIREDCLIENT_CERT_MISMATCHCLIENT_CERT_REVOKEDVENDOR_INACTIVEINSUFFICIENT_SCOPERATE_LIMITED

Request
curl "$PKI_API/v1/profiles" \
--cert client.crt --key client.key \
-H "Authorization: Bearer $PKI_API_KEY"
Response 200
{
"data": [
{
"id": "7d1f0c2a-4b5e-4c8d-9a3f-2e6b1c0d9f84",
"name": "Solarize Issuing CA",
"deviceType": "module",
"cnRule": "rtuId",
"validDays": -9007199254740991,
"chipCompat": true,
"default": true
}
]
}