DEV Community

Alex Spinov
Alex Spinov

Posted on

Teleport Has a Free API — Zero-Trust Access to Infrastructure

Teleport is an open-source access platform that provides zero-trust access to servers, databases, Kubernetes, and internal apps — with audit logging and short-lived certificates.

What Is Teleport?

Teleport replaces VPNs and SSH keys with identity-based access. Every connection is authenticated, authorized, and audited.

Free (Community Edition):

  • Unlimited users and resources
  • SSH, Kubernetes, database access
  • Session recording
  • Audit logging
  • Certificate-based auth

Quick Start

curl https://goteleport.com/static/install.sh | bash -s 16.0.0
teleport configure -o /etc/teleport.yaml
teleport start
Enter fullscreen mode Exit fullscreen mode

API / CLI

# Login
tsh login --proxy=teleport.example.com

# SSH into server
tsh ssh user@server-name

# List nodes
tsh ls

# Access Kubernetes
tsh kube login my-cluster
kubectl get pods

# Access database
tsh db connect my-postgres
Enter fullscreen mode Exit fullscreen mode

REST API

# List nodes
curl https://teleport.example.com/v1/nodes \
  -H "Authorization: Bearer YOUR_TOKEN"

# List sessions
curl https://teleport.example.com/v1/sessions \
  -H "Authorization: Bearer YOUR_TOKEN"
Enter fullscreen mode Exit fullscreen mode

Use Cases

  1. SSH replacement — no SSH keys to manage
  2. Database access — audited DB connections
  3. Kubernetes access — RBAC for clusters
  4. Compliance — session recording + audit trails
  5. VPN replacement — zero-trust networking

Need web data at scale? Check out my scraping tools on Apify or email spinov001@gmail.com for custom solutions.

Top comments (0)