Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/consul-connect-ca-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: HashiCorp Consul Connect CA API
description: HTTP API for the Consul Connect service mesh subsystem of HashiCorp Consul. Connect APIs cover intentions (service-to-service traffic authorization) and certificate authority (CA) management for the built-in mesh CA. ACL tokens are typically passed via the X-Consul-Token header.
version: 1.0.0
contact:
name: HashiCorp Consul
url: https://developer.hashicorp.com/consul
servers:
- url: http://localhost:8500/v1
description: Local Consul agent
- url: https://consul.example.com/v1
description: Production Consul cluster
security:
- ConsulToken: []
tags:
- name: CA
description: Certificate authority management
paths:
/connect/ca/roots:
get:
operationId: listCaRoots
summary: List CA root certificates
tags:
- CA
parameters:
- name: pem
in: query
schema:
type: boolean
responses:
'200':
description: Active root ID and root certificates
content:
application/json:
schema:
$ref: '#/components/schemas/CaRoots'
/connect/ca/configuration:
get:
operationId: getCaConfiguration
summary: Get CA configuration
tags:
- CA
responses:
'200':
description: Current CA configuration
content:
application/json:
schema:
$ref: '#/components/schemas/CaConfiguration'
put:
operationId: updateCaConfiguration
summary: Update CA configuration
tags:
- CA
parameters:
- name: ForceWithoutCrossSigning
in: query
schema:
type: boolean
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CaConfiguration'
responses:
'200':
description: Configuration updated
components:
schemas:
CaRoot:
type: object
properties:
ID:
type: string
Name:
type: string
SerialNumber:
type: integer
SigningKeyID:
type: string
ExternalTrustDomain:
type: string
NotBefore:
type: string
format: date-time
NotAfter:
type: string
format: date-time
RootCert:
type: string
IntermediateCerts:
type: array
items:
type: string
Active:
type: boolean
PrivateKeyType:
type: string
PrivateKeyBits:
type: integer
CaConfiguration:
type: object
properties:
Provider:
type: string
example: consul
Config:
type: object
additionalProperties: true
State:
type: object
additionalProperties: true
ForceWithoutCrossSigning:
type: boolean
ModifyIndex:
type: integer
CaRoots:
type: object
properties:
ActiveRootID:
type: string
TrustDomain:
type: string
Roots:
type: array
items:
$ref: '#/components/schemas/CaRoot'
securitySchemes:
ConsulToken:
type: apiKey
in: header
name: X-Consul-Token