Skip to content

Retrieve a registration authority

Request

Early Access
OAuth 2.0 scope:
  • okta.certificateAuthorities.read

Retrieves an active registration authority (RA) configuration beneath a certificate authority (CA).

The request fails with a 404 if the raId is unknown, if the configuration isn't active, or if it's bound to a certificate outside this authority's lineage.

Path
authorityInstanceIdstring^[0-9A-F]+$required

The stable identifier of the certificate authority, in uppercase hexadecimal. It survives renewals and is the value embedded in the SCEP enrollment URL.

raIdstringrequired

The ID of a registration authority configuration. It's the raId segment of the SCEP enrollment URL.

curl -i -X GET \
  'https://subdomain.okta.com/pki/api/v2/certificate-authorities/{authorityInstanceId}/registration-authorities/{raId}'

Responses

OK

Bodyapplication/json
akistringread-only

The authority key identifier of the RA certificate — the ski of the CA certificate that signed it. After a rollover or a parallel renewal, this is the renewed CA's ski.

authorityInstanceIdstringread-only

The stable identifier of the certificate authority this configuration belongs to

caExpirationDatestring, (date-time)read-only

Timestamp when the CA certificate bound to this configuration expires. It's resolved from the configuration's own aki, so configurations under one authority can report different expiries after a renewal.

challengeTypestring(RegistrationAuthorityChallengeType)read-only

How the configuration validates an enrollment challenge. STATIC uses a fixed shared secret, as Jamf Pro does. DYNAMIC uses a per-enrollment secret that Okta issues. DELEGATED hands validation to Microsoft Intune.

Enum:"DELEGATED""DYNAMIC""STATIC"
configInfoobject(RegistrationAuthorityConfigInfo)

Protocol-specific settings for the configuration. It's an empty object for a static or dynamic challenge, and carries the Microsoft Entra ID application settings for a delegated Microsoft Intune challenge.

Okta needs provider, aadClientId, aadClientSecret, and aadAuthority to validate Intune SCEP requests, and rejects a request that sends any property not listed here with a 400. The v1 create operations require all four. A renewal requires none of them: each one falls back to the configuration being cloned, so you send only what you want to change — see ParallelScepConfig.

createdDatestring, (date-time)(Created)read-only

Timestamp when the object was created

Example:"2016-01-03T18:15:47.000Z"
idstringread-only

The ID of the configuration. It's the raId segment of the SCEP enrollment URL, and the value you pass to a renewal.

lastUpdatedDatestring, (date-time)(LastUpdated)read-only

Timestamp when the object was last updated

Example:"2016-01-03T18:15:47.000Z"
namestring

The name of the configuration

protocolstring(RegistrationAuthorityProtocol)

The enrollment protocol the configuration serves

Value:"SCEP"
scepUrlstringread-only

The SCEP enrollment URL to put into your MDM software's profile. It's built from authorityInstanceId rather than from a certificate, so a renewal never changes it.

skistringread-only

The subject key identifier of the RA certificate, in uppercase hexadecimal

sourceConfigIdstringread-only

The ID of the configuration this one was cloned from, on a configuration created by a parallel renewal. Absent on every other configuration.

statusstring(RegistrationAuthorityStatus)read-only

The status of the configuration. Only active configurations are returned.

Value:"ACTIVE"
Response
{ "id": "rac6kzivlfas53yvO4x7", "name": "Endpoint management 2", "protocol": "SCEP", "challengeType": "DELEGATED", "status": "ACTIVE", "ski": "E57EC517562978A1859C25C218BAC113732829EA", "aki": "1699E4263D0DC9D9FDA0B6AAE1286E5F7B57ACCC", "caExpirationDate": "2028-03-18T23:44:57.000+0000", "authorityInstanceId": "1699E4263D0DC9D9FDA0B6AAE1286E5F7B57ACCC", "scepUrl": "https://example.okta.com/pki/1699E4263D0DC9D9FDA0B6AAE1286E5F7B57ACCC/scep/rac6kzivlfas53yvO4x7", "configInfo": { "provider": "INTUNE", "aadClientId": "5f8c1b9e-3d47-4a2f-9c1e-7b6a2d4e8f10", "aadAuthority": "example.onmicrosoft.com" }, "createdDate": "2023-03-19T00:51:50.000+0000", "lastUpdatedDate": "2026-07-06T05:27:13.000+0000" }