v1
latestOpenAPI 3.1.02026-07-261690320.7 KBCreate Kubernetes cloud
Connect your Kubernetes cluster to Aikido. This will register a cluster and return the agent token needed for installation. https://github.com/AikidoSec/helm-charts
post/clouds/kubernetes
Request body
Example request
{
"name": "my-kubernetes-cluster",
"environment": "production",
"excluded_namespaces": [
"kube-system",
"kube-public"
],
"enable_image_scanning": true
}Response
The Kubernetes cloud environment has been successfully created
Example response
{
"id": 1,
"endpoint": "https://k8s.aikido-security.com",
"agent_token": "eyJhbGciOiJIUz...",
"created_at": 1699372800
}