Interface CertificateServiceAsync
-
- All Implemented Interfaces:
public interface CertificateServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCertificateServiceAsync.WithRawResponseA view of CertificateServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract CertificateServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract CertificateServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<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
CompletableFuture<BetaTunnelCertificate> create(String tunnelId, CertificateCreateParams params, RequestOptions requestOptions)
-
create
CompletableFuture<BetaTunnelCertificate> create(CertificateCreateParams params)
-
create
abstract CompletableFuture<BetaTunnelCertificate> create(CertificateCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<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
CompletableFuture<BetaTunnelCertificate> retrieve(String certificateId, CertificateRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaTunnelCertificate> retrieve(CertificateRetrieveParams params)
-
retrieve
abstract CompletableFuture<BetaTunnelCertificate> retrieve(CertificateRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<CertificateListPageAsync> 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
CompletableFuture<CertificateListPageAsync> list(String tunnelId, CertificateListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<CertificateListPageAsync> list(String tunnelId, CertificateListParams params)
-
list
abstract CompletableFuture<CertificateListPageAsync> list(CertificateListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<CertificateListPageAsync> list(CertificateListParams params)
-
list
CompletableFuture<CertificateListPageAsync> list(String tunnelId, RequestOptions requestOptions)
-
archive
CompletableFuture<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
CompletableFuture<BetaTunnelCertificate> archive(String certificateId, CertificateArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaTunnelCertificate> archive(CertificateArchiveParams params)
-
archive
abstract CompletableFuture<BetaTunnelCertificate> archive(CertificateArchiveParams params, RequestOptions requestOptions)
-
-
-
-