Skip to main content
Infrastructure/Agents

IssueEnrollmentCertificate

Submit a locally generated opamp_control CSR using the EnrollmentSession authorization scheme. An identical CSR returns the original certificate; no Agent record is created by this request.

POST/api/v1/lifecycle/managed-agent/enrollments/{id}/certificates

Operation ID

IssueEnrollmentCertificate

Since

1.3.0

Execution Mode

Synchronous

Auth Context

EnrollmentSession

Auth Context

Use Authorization: EnrollmentSession {session}, with the session returned by StartEnrollment. A user Bearer token cannot replace it.

Authorization
EnrollmentSession {session}

Request Inputs

application/json

Path Parameters

  • id
    StringRequired

    EnrollmentAttempt ID from the StartEnrollment response.

Body Fields

  • requestId
    String

    Request id for this resource

    Example: value

  • purpose
    String

    Only opamp_control is supported.

    Example: value

  • csrPem
    String

    Local CSR only; never send or accept a private key.

    Example: value

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • certificateId
    String

    Certificate id for this resource

    Example: value

  • agentId
    String

    Agent id for this resource

    Example: value

  • purpose
    String

    Purpose for this resource

    Example: value

  • certificatePem
    String

    Certificate pem for this resource

    Example: value

  • notAfter
    String

    Not after for this resource

    Example: 2026-01-15T08:00:00Z

    {"format":"date-time"}

  • opampEndpoint
    Object

    Opamp endpoint for this resource

    • url
      String

      URL that the enrolled Agent uses to connect to the OpAMP management endpoint.

      Example: https://example.com/callback

    • serverName
      String

      Server name for this resource

      Example: value