class

Anthropic::BetaTunnelCertificates

Inherits Reference < Object

Tunnel CA certificates sub-resource (beta / research preview).

Registers PEM-encoded CA certificates used to verify the gateway's server certificate when Anthropic terminates the inner TLS session. Nested certificates resource under client.beta.tunnels.certificates. Same auth rules as BetaTunnels: WIF bearer with workspace:manage_tunnels.

Constructors

new(client : Client)
Source

Instance methods

archive(tunnel_id : String, certificate_id : String, betas : Array(String) = [] of String) : BetaTunnelCertificate

Archive a tunnel certificate (removes it from the trusted set; record kept).

Source
create(tunnel_id : String, ca_certificate_pem : String, betas : Array(String) = [] of String) : BetaTunnelCertificate

Register a public CA certificate on a tunnel.

ca_certificate_pem must be PEM-encoded X.509 with exactly one certificate and no private-key material (max 8KB). A tunnel holds at most two non-archived certificates.

Source
list(tunnel_id : String, include_archived : Bool | Nil = nil, limit : Int32 = 20, page : String | Nil = nil, betas : Array(String) = [] of String) : BetaTunnelCertificateListResponse

List certificates registered on a tunnel.

Source
retrieve(tunnel_id : String, certificate_id : String, betas : Array(String) = [] of String) : BetaTunnelCertificate

Fetch a tunnel certificate by ID.

Source