Skip to content
Dymini Panel
v0.15.0
Menu
You are reading the docs of v0.15.0.Go to the latest version

Agent

On this page

Exchange a join token and a CSR for an agent client certificate

POST/api/v1/agent/enroll

Request bodyapplication/json

EnrollRequest

  • csr_pemstringrequired

    PKCS#10 request for the agent's own key, PEM.

  • hostnamestring
  • join_tokenstringrequired

Responses

  • 200 Exchange a join token and a CSR for an agent client certificateEnrollResponse
    • ca_pemstringrequired
    • client_cert_pemstringrequired
    • grpc_urlstringrequired

      Where the agent dials its gRPC session.

    • server_idstring (uuid)required
    • tls_namestringrequired

      TLS server name to verify on that connection.

Pipe a WebSocket to the mTLS agent listener, for panels reachable only through HTTPS (for example a Cloudflare Tunnel)

GET/api/v1/agent/tunnel

Responses

  • 101 Pipe a WebSocket to the mTLS agent listener, for panels reachable only through HTTPS (for example a Cloudflare Tunnel)