Interface CertificateService
-
- All Implemented Interfaces:
public interface CertificateService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCertificateService.WithRawResponseA view of CertificateService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract CertificateService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract CertificateService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
BetaTunnelCertificate create(String tunnelId, CertificateCreateParams params)
The Tunnels API is in research preview. It requires the
anthropic-beta: mcp-tunnels-2026-06-22header and may change without a deprecation period. It supersedes the Admin API endpoints at/v1/organizations/tunnels, which remain available during a migration window.Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's server certificate against this CA when it terminates the inner TLS session. A tunnel holds at most two non-archived certificates.
-
create
BetaTunnelCertificate create(String tunnelId, CertificateCreateParams params, RequestOptions requestOptions)
-
create
BetaTunnelCertificate create(CertificateCreateParams params)
-
create
abstract BetaTunnelCertificate create(CertificateCreateParams params, RequestOptions requestOptions)
-
retrieve
BetaTunnelCertificate retrieve(String certificateId, CertificateRetrieveParams params)
The Tunnels API is in research preview. It requires the
anthropic-beta: mcp-tunnels-2026-06-22header and may change without a deprecation period. It supersedes the Admin API endpoints at/v1/organizations/tunnels, which remain available during a migration window.Fetches a tunnel certificate by ID.
-
retrieve
BetaTunnelCertificate retrieve(String certificateId, CertificateRetrieveParams params, RequestOptions requestOptions)
-
retrieve
BetaTunnelCertificate retrieve(CertificateRetrieveParams params)
-
retrieve
abstract BetaTunnelCertificate retrieve(CertificateRetrieveParams params, RequestOptions requestOptions)
-
list
CertificateListPage list(String tunnelId)
The Tunnels API is in research preview. It requires the
anthropic-beta: mcp-tunnels-2026-06-22header and may change without a deprecation period. It supersedes the Admin API endpoints at/v1/organizations/tunnels, which remain available during a migration window.Lists the certificates registered on a tunnel. Archived certificates are excluded unless include_archived is set.
-
list
CertificateListPage list(String tunnelId, CertificateListParams params, RequestOptions requestOptions)
-
list
CertificateListPage list(String tunnelId, CertificateListParams params)
-
list
abstract CertificateListPage list(CertificateListParams params, RequestOptions requestOptions)
-
list
CertificateListPage list(CertificateListParams params)
-
list
CertificateListPage list(String tunnelId, RequestOptions requestOptions)
-
archive
BetaTunnelCertificate archive(String certificateId, CertificateArchiveParams params)
The Tunnels API is in research preview. It requires the
anthropic-beta: mcp-tunnels-2026-06-22header and may change without a deprecation period. It supersedes the Admin API endpoints at/v1/organizations/tunnels, which remain available during a migration window.Archives a tunnel certificate, removing it from the set Anthropic trusts for the tunnel. The certificate record is retained. Archiving the last non-archived certificate is permitted; the tunnel rejects MCP traffic until a new certificate is added.
-
archive
BetaTunnelCertificate archive(String certificateId, CertificateArchiveParams params, RequestOptions requestOptions)
-
archive
BetaTunnelCertificate archive(CertificateArchiveParams params)
-
archive
abstract BetaTunnelCertificate archive(CertificateArchiveParams params, RequestOptions requestOptions)
-
-
-
-