AlmaForge for Teleport users
Teleport users will feel right at home with AlmaForge: short-lived certificates, reverse tunnels, label-based RBAC, session playback, audit logs, and familiar commands. Corporate SSO and access requests with built-in approvals and ChatOps are included out of the box. One kubectl-style CLI, declarative manifests, and a single server binary replace tsh/tctl/tbot, plugin sidecars, and teleport.yaml. Fully self-hosted and air-gap ready. Zero telemetry. No kill switches. No AGPLv3.
What carries over | What improves | What is gone | Licensing | Cheat sheet | Migration
Take the 2-minute tour. Go hands-on with a local demo on macOS or Linux in 10 minutes:
curl -fL https://get.almaforge.com/install.sh | shalma demoWhat stays the same
You do not have to redesign your network, replace your client tools, or rewrite your access model. AlmaForge is built on the same short-lived certificates, reverse tunnels, and RBAC architecture you already trust.
| Capability | Teleport | AlmaForge |
|---|---|---|
| Mental modelAuth Service as CA and policy engine, stateless Proxy, and outbound resource agents | ✓ | ✓ |
| Engineer-friendly accessAccess to resources and admin operations with familiar CLI commands and native tools | ✓ | ✓ |
| Multi-protocol accessSSH, Kubernetes, all popular database protocols, and internal web apps and APIs | ✓ | ✓ |
| Short-lived certificatesShort-lived SSH and X.509 certs issued at login, gone in hours, with no static keys or DB passwords | ✓ | ✓ |
| Zero inbound firewall portsOutbound reverse tunnels from private VPCs and NAT enclaves | ✓ | ✓ |
| Label-based RBACLabel-based allow and deny rules (deny wins), session options, and role templates | ✓ | ✓ |
| Recording and auditFrame-by-frame terminal replay and structured JSON audit trail for shared-account attribution | ✓ | ✓ |
| Instant session locksKill active SSH, Kubernetes, and database sessions cluster-wide by user, role, or server in seconds | ✓ | ✓ |
| Fleet deploymentLinux packages (systemd), containers, Helm charts, join tokens, labels, and side-by-side rollout | ✓ | ✓ |
| Pluggable storagePluggable backends: PostgreSQL, DynamoDB, and etcd for state, S3, GCS, and Azure Blob for audit logs and session recordings | ✓ | ✓ |
| Day-2 operationsStateless Proxy scaling, active-active Auth, health probes, Prometheus metrics, native backups, and familiar admin commands | ✓ | ✓ |
Mental model
Your existing Teleport architecture diagram still applies. The operational topology is identical: an Auth Service acting as the certificate authority and policy engine, a stateless Proxy Service at the edge, and resource agents running alongside your infrastructure over outbound reverse tunnels. See How it works.
Engineer-friendly access
Engineers and administrators keep their daily workflows. The same alma CLI handles access and cluster operations, including the administrative tasks you use tctl for today. See the CLI guide.
# Daily accesstsh login --proxy=teleport.example.com:443tsh ssh ubuntu@web1tsh kube login prod && kubectl get podstsh db connect orders --db-user=readonlytsh request create --roles=prod-ssh --reason="INC-42"
# Cluster administrationtctl get roletctl create -f role.yamltctl get role/devops > devops.yamltctl rm role/devops# Daily accessalma login --proxy=almaforge.example.com:443alma ssh ubuntu@web1alma kube login prod && kubectl get podsalma db connect orders --db-user=readonlyalma request create --roles=prod-ssh --reason="INC-42"
# Cluster administrationalma get rolealma create -f role.yamlalma get role/devops -o yaml > devops.yamlalma delete role/devopsUse familiar flags and subcommands for interactive access, cluster administration, and workload identity in alma. The command translation table maps every user access and administrative command.
Multi-protocol access
Keep the same access workflows across Linux servers over SSH, Kubernetes clusters, internal web applications and APIs, and all popular database protocols.
- SSH
- Kubernetes
- PostgreSQL
- MySQL
- MariaDB
- MongoDB
- Redis
- Valkey
- CockroachDB
- ClickHouse
- Cassandra
- ScyllaDB
- Elasticsearch
- HTTP apps and APIs
Your engineers can keep using ssh, scp, rsync, kubectl, helm, psql, mysql, GUI database clients such as DBeaver, DataGrip, and TablePlus, VS Code Remote, and Ansible. Local SSH configs and kubeconfig integrations work directly with those tools, without wrappers or proprietary SDKs.
Short-lived certificates
Both AlmaForge and Teleport issue short-lived SSH and X.509 certificates at login in place of static SSH keys, long-lived kubeconfig tokens, and shared database passwords. The certificates encode verified roles and principals for people and workloads. They expire automatically at the configured TTL, which defaults to 12h and can be shortened using maxSessionTTL. See how it works.
Zero inbound firewall ports
Agents connect to AlmaForge over persistent, encrypted reverse tunnels. Because agents initiate the connection, targets in private VPCs, on-premises data centers, and networks behind NAT need no inbound firewall ports, public IPs, or VPC peering. See Networking.
Label-based RBAC
Your existing Teleport roles translate almost one for one. Label selectors (env: prod, team: payments), predicate expressions, session options, and {{external.*}} IdP claim templates behave the same way. The allow and deny rules have the same precedence, with deny always taking priority. IdP claim templates carry over for Enterprise users and become available to Free users. The changes are limited to the Kubernetes-style envelope (apiVersion: almaforge.com/v1, kind: Role), camelCase field names, and a few resource prefixes (node_labels -> serverLabels, logins -> serverLogins, db_* -> database*). See RBAC.
kind: role
version: v8
metadata:
name: platform-eng
spec:
options:
max_session_ttl: 8h
forward_agent: true
create_host_user_mode: keep
allow:
logins:
- '{{external.preferred_username}}'
node_labels:
env: ['dev', 'staging']
host_groups: ['developers', 'docker']
kubernetes_labels:
env: ['dev', 'staging']
kubernetes_groups: ['system:masters']
db_labels:
env: ['dev']
db_users: ['readonly']
deny:
node_labels:
env: ['pci']
apiVersion: almaforge.com/v1
kind: Role
metadata:
name: platform-eng
spec:
options:
maxSessionTTL: 8h
forwardAgent: true
createHostUserMode: keep
allow:
serverLogins:
- '{{external.preferred_username}}'
serverLabels:
env: ['dev', 'staging']
hostGroups: ['developers', 'docker']
kubernetesLabels:
env: ['dev', 'staging']
kubernetesGroups: ['system:masters']
databaseLabels:
env: ['dev']
databaseUsers: ['readonly']
deny:
serverLabels:
env: ['pci']
Recording and audit
Record and replay interactive SSH terminals and Kubernetes exec and attach sessions from the CLI or Web UI. Recordings preserve terminal output and timing for incident investigations. Every connection is cryptographically tied to an identity. Structured JSON audit events for SSH sessions, database queries, Kubernetes API calls, and policy changes go directly to your SIEM.
Bob opens the recordings and plays Alice's session back, exactly as she typed it.
Instant session locks
Both platforms let you terminate active SSH, Kubernetes, and database sessions across the cluster in seconds, before their certificates expire. Use alma create lock to target a user, role, OS login, access request, or server. The workflow matches tctl lock.
# Contain a compromised account immediatelytctl lock --user=alice --message="Lost laptop" --ttl=24h
# Freeze a role during an active incidenttctl lock --role=prod-dba --message="Incident containment"# Contain a compromised account immediatelyalma create lock --target-user=alice --message="Lost laptop" --lock-ttl=24h
# Freeze a role during an active incidentalma create lock --role=prod-dba --message="Incident containment"Fleet deployment
Deploy almad alongside the infrastructure it protects, as you do with teleport. Install it as a systemd service on Linux hosts for SSH, use Helm in Kubernetes to expose clusters, or run a container in a private subnet alongside managed databases and internal web apps. Enroll each instance with join tokens and labels using your existing Ansible, Docker, or Helm automation. almad uses its own state directory and runs alongside teleport, so you can enroll hosts gradually while Teleport stays in service.
Pluggable storage
Use independent storage backends for cluster state (ALMA_STATE_URI), audit events (ALMA_AUDIT_URI), and session recordings (ALMA_RECORDINGS_URI). Any S3-compatible store can hold recordings and audit logs directly, without AWS Athena or Glue.
- PostgreSQL
- etcd
- DynamoDB
- Firestore
- SQLite
- Amazon S3
- MinIO
- Ceph
- Google Cloud Storage
- Azure Blob Storage
- Local disk
Day-2 operations
Scale stateless Proxies behind your existing TCP load balancer and run active-active Auth replicas against a shared state backend. Upgrade one node at a time to keep logins available. Durable cluster state lives outside almad memory, so you can use your existing snapshot tooling for backups, including pg_dump, etcdctl snapshot, or the snapshot tools for DynamoDB or Firestore. Use standard health probes and Prometheus metrics with your existing load balancer checks and alerts. The probe requires a diagnostics address on each platform. Set diag_addr in Teleport or ALMA_DIAG_LISTEN in AlmaForge. See Monitoring. Routine cluster operations map directly from tctl.
# Check readiness probe (when diag listener is enabled on :3000) and cluster statuscurl -sf http://teleport-1.internal:3000/readyztctl status
# Issue and audit node join tokenstctl tokens add --type=nodetctl tokens ls
# Inspect fleet inventory and active cluster alertstctl nodes lstctl db lstctl alerts ls# Check readiness probe (when diag listener is enabled on :3000) and cluster instancescurl -sf http://almad-1.internal:3000/readyzalma get instance
# Issue and audit node join tokensalma create token --services=sshalma get token
# Inspect fleet inventory and active cluster alertsalma get serveralma get dbalma get alertWhat AlmaForge does differently
AlmaForge keeps the access model and removes the feature gates, auxiliary daemons, and telemetry requirements around it.
| Area | Teleport | AlmaForge |
|---|---|---|
| Corporate SSO | Enterprise onlyOkta, Entra ID, Google Workspace, and Keycloak require Enterprise. Community Edition supports only GitHub SSO and local accounts. | IncludedOkta, Entra ID, Google Workspace, Keycloak, and any OIDC provider included in every edition. |
| CLI ergonomics | 3 CLIs + tbotSplits daily work across tsh, tctl, and a separate tbot daemon. | 1 alma CLIOne alma CLI with kubectl verbs handles access, admin, and workload identity. |
| Workload identity | tbot daemonNeeds a separate tbot renewal daemon or long-lived static identity files on disk. | Built into CLI & almadZero extra daemons across CI/CD, cloud VMs, Kubernetes, Ansible, and AI agents. |
| Access requests | Basic CLI onlyCommunity Edition includes only rudimentary CLI role requests. Web UI, resource requests, approval thresholds, and Jira require Enterprise. | All editionsCLI and Web UI requests with approver counts, filters, and role pinSourceIP in every edition. |
| ChatOps integrations | Separate pluginsSeparate plugin daemons with their own identities, systemd units, and TOML configs. | Built into almadBuilt directly into almad with zero sidecars and native Telegram support. |
| Remote CLI login | SSH port-forwardRequires SSH port forwarding (ssh -L) or admin-allowlisted redirect URLs to complete remote login. | Device code flowDevice code flow (--no-browser) prints a URL you approve from any browser. |
| Configuration & IaC | 5 config filesSplits configuration across teleport.yaml, tbot.yaml, plugin TOMLs, event-handler TOML, and Fluentd. | 1 schema everywhereOne Kubernetes-style manifest across CLI, drop-ins, env vars, and Terraform. |
| Server processes | Multi-process fleetFull stack runs multiple processes (teleport, tbot, Slack, PagerDuty, Jira plugins, teleport-event-handler, and Fluentd). | 1 binary, zero sidecarsalmad embeds all services: Auth, Proxy, node access, S3 audit streaming, and ChatOps. |
| Network ports | 8+ listener portsSprawls across 8+ proxy ports (plus dedicated ports for databases) in standard mode, or multiplexes client traffic onto 443. | TCP 443 onlyOne port (TCP 443) multiplexes everything by default, with optional dedicated DB listeners. |
| SIEM & S3 audit export | Event Handler + FluentdRequires Athena, Glue, SNS, and SQS for S3 audit search, plus teleport-event-handler, tbot, and Fluentd for SIEMs. | Direct to S3Streams .jsonl.gz audit logs straight to any S3-compatible bucket with zero sidecars. |
| OpenTelemetry (OTLP) | Split scraping + shippersSplits signals across Prometheus scraping, external log forwarders, and custom tracing YAML. | Built-in OTLPPushes metrics, logs, and traces over OTLP using standard OTEL_EXPORTER_OTLP_* env vars. |
| Telemetry & metering | Call-homeEnterprise clusters phone home usage metrics. | Zero telemetryZero telemetry or call-home in every edition. |
| Self-hosted & air-gapped | Cloud-first + CDNCenters new features on Teleport Cloud, with CDN auto-updates and metering that complicate disconnected networks. | 100% self-hostedOwn your CA, keys, and upgrade schedule, and run completely offline from day one. |
| Fleet upgrades | Strict rollout orderRequires strict Auth → Proxy → Agent order without skipping majors, warning when laptop tsh updates a major version ahead. | Standard OS packagesUpgrade in place via apt, yum, or Helm with previous-release compatibility during rolling upgrades. |
| Agent-friendly CLI | Human-first CLIInteractive prompts, unstructured error text, and manual flags break unattended coding agents. | Agent-native CLIBuilt-in auto-JSON, structured errors, deterministic exit codes, explain, and install skill. |
The Teleport column reflects its published documentation and feature matrix as of November 2026. The Terraform provider for AlmaForge is available today. The Kubernetes Operator is planned.
Enterprise SSO out of the box
Teleport Community Edition limits single sign-on to GitHub. Corporate identity providers, including Okta, Microsoft Entra ID, Google Workspace, and Keycloak, require an Enterprise contract. Community teams outside GitHub SSO must manage local user accounts, passwords, and MFA directly inside Teleport. Even on Enterprise, Teleport maintains a shadow user directory and SCIM sync, leaving two identity systems to configure, audit, and reconcile.
In AlmaForge, Okta, Microsoft Entra ID, Google Workspace, Keycloak, and any OIDC provider are included out of the box. AlmaForge trusts your corporate IdP as the only source of truth: no local user accounts, no password hashes, and no SCIM pipelines to babysit during an incident. Roles bind directly to OIDC groups and claims on every login, so suspending an identity in your IdP blocks new certificates immediately, and alma create lock revokes active sessions cluster-wide. Configure your connector in the Web UI or drop an OIDCConnector manifest into /etc/almaforge/almad.d/:
# Okta OIDCConnector for AlmaForge, loading secrets from environment variables.
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
name: okta
spec:
display: Okta
issuerURL: https://example.okta.com/oauth2/default
clientID: ${env:OIDC_CLIENT_ID}
clientSecret: ${env:OIDC_CLIENT_SECRET}
scope:
- openid
- email
- profile
- groups
claimsToRoles:
- claim: groups
value: platform-admins
roles: [admin, access]
- claim: groups
value: platform-eng
roles: [access]
One CLI to rule them all
In Teleport, the CLI changes every time your context shifts. Query Postgres from your laptop? Use tsh. Run the exact same query in CI/CD? Now you need tbot, a separate tbot.yaml config, credential bundles on disk, and tsh -i to consume them. Update labels on that same database? That's a third binary (tctl). Three tools, three command syntaxes, and separate authentication workflows for a single resource.
AlmaForge replaces all three with one alma binary. Query interactively with familiar access commands, authenticate directly in CI/CD without a separate renewal daemon or identity-file handoffs, and manage resources using kubectl-style verbs (get, apply, edit, delete, exec, port-forward).
# 1. Log intsh login --proxy=teleport.example.com:443# (headless/CI tctl requires a separate --identity file plus --auth-server)tctl status --auth-server=auth.example.com:3025 --identity=admin.pem
# 2. List resourcestsh ls # user view of serverstsh db ls # user view of databasestctl get db # admin view (different binary & grammar)
# 3. Connect to a resourcetsh db connect orders --db-user=readonly
# 4. Edit a resource or its policy in automationtctl edit db/orders \ --identity=admin.pem \ --auth-server=auth.example.com:3025# (or export, edit, and pass --force because create fails on existing)tctl create --force db-orders.yaml# 1. Log inalma login --proxy=almaforge.example.com:443# (one binary handles user access, admin operations, and CI workloads)
# 2. List resourcesalma get all # list servers, databases, and clustersalma get db
# 3. Connect to a resourcealma exec db/orders -u readonly
# 4. Edit a resource or its policyalma edit db/orders# (or standard idempotent declarative apply)alma apply -f db-orders.yamlBuilt-in workload identity
Teleport brokers machine credentials through tbot. This separate binary has its own /etc/tbot.yaml config, join-token resource, and renewal lifecycle. Give the Linux users for tbot and the workload access to the certificate directory. tbot writes certificates there, and the workload reads them through another binary. Outside Teleport's GitHub Actions wrapper, even a single CI database query requires a config file, a join token applied separately with tctl, and a broker process that starts before the query.
With AlmaForge, the process that runs the query gets its own certificate through workload identity, built into alma and almad. There is no credential broker or intermediate identity file to pass between binaries. Non-interactive commands return predictable exit codes across GCP, AWS, Azure, Kubernetes, GitHub Actions, GitLab CI, CircleCI, Spacelift, Ansible, Terraform, and AI coding agents.
tctl bots add orders-reporter --roles=db-readonly --token=orders-reportertctl create -f bot-token.yaml # kind: token, join_method: gcp, bot_name: orders-reportercat > /etc/tbot.yaml <<'EOF'version: v2oneshot: trueproxy_server: teleport.example.com:443onboarding: join_method: gcp token: orders-reporterstorage: type: directory path: /var/lib/tbot-stateservices: - type: identity destination: type: directory path: /srv/tbot/identityEOFtbot start -c /etc/tbot.yamltsh -i /srv/tbot/identity --proxy=teleport.example.com db connect orders --db-user=readonlyalma create bot orders-reporter --roles=db-readonly --token-name=orders-reporteralma apply -f bot-token.yaml # kind: Token, spec.gcp, botName: orders-reporter
export ALMA_PROXY=almaforge.example.com:443export ALMA_CLIENT_ID=orders-reporterexport ALMA_JOIN_METHOD=gcpalma exec db/orders -u readonlySet the same three enrollment variables for resource agents in /etc/almaforge/almad.env.
ALMA_PROXY=almaforge.example.com:443
ALMA_CLIENT_ID=ssh-node
ALMA_JOIN_METHOD=gcp
ALMA_SSH_SERVICE=true
Built-in access requests
Teleport Community allows role requests through the CLI and requires an admin to approve them manually. Resource requests, approval thresholds, and Jira require Enterprise. A Teleport ChatOps plugin user cannot request its own credentials. To set up an integration, create a plugin user and an impersonator role for yourself. Mint an identity file with tctl auth sign or use a tbot directory shared by two Linux users. Then write a separate TOML config and run a separate systemd daemon.
Every edition of AlmaForge, including Free, supports role- and resource-scoped requests through the CLI and Web UI. Requests support approval thresholds, reviewer filters, PagerDuty on-call auto-approval, and role pinSourceIP. At startup, almad issues plugin identities automatically. Slack, Telegram, PagerDuty, and Jira run inside almad without identity files, TOML configuration, or sidecars.
export ALMA_SLACK_SERVICE=truealma apply -f slack-connector.yamlalma request create --roles=dba --reviewers="bob,carol" --reason="INC-42"Remote CLI login
When you sign in with tsh from a remote development machine or jump host, SSO needs a browser callback. Set up SSH port forwarding (ssh -L) or ask an admin to allow the --callback URL in client_redirect_settings. The tsh --headless option works only with commands that support it, such as ssh, scp, ls, db ls, and proxy kube. It keeps the certificate in memory for that single command and leaves no reusable login profile.
In AlmaForge, alma login uses OAuth device-code authentication automatically in SSH sessions. You can also select it with --no-browser. The command prints a URL and code. Approve the login in a browser on any laptop or phone to get a profile that works with every subcommand.
alma login --proxy=almaforge.example.com:443 --no-browserTo sign in, open this URL on any device with a browser:
https://almaforge.example.com/device
and enter this code:
BCDF-GHJK
Waiting for approval...Infrastructure as Code
teleport.yaml holds both node startup flags and cluster-wide policy (authentication, session_recording, proxy_listener_mode). Every time Auth starts, it reapplies those sections from teleport.yaml and discards later edits to the same resources. Configuration spans teleport.yaml, tbot.yaml, per-plugin TOML files, teleport-event-handler.toml, and fluent.conf. Dynamic resources and Kubernetes CRDs use separate versioned schemas (role v8, TeleportRoleV8, TeleportAppV3).
AlmaForge separates process startup settings from desired cluster state. Set startup options with ALMA_* environment variables, which database state never overwrites. Define cluster resources in one Kubernetes CRD-style manifest format with apiVersion, kind, metadata, and spec. Place manifests in /etc/almaforge/almad.d/ using Ansible, Chef, Nix, Kubernetes ConfigMaps, Kustomize, or Helm. The daemon reloads them without a restart. You can also apply manifests with alma apply -f or manage resources with the Terraform provider. A Kubernetes Operator is planned.
ALMA_DATA_DIR=/var/lib/almaforge
ALMA_NODE_NAME=auth1
ALMA_STATE_URI=<state-uri>
ALMA_AUTH_SERVICE=true
ALMA_PROXY_SERVICE=true
/etc/almaforge/almad.d/
|-- 01-storage-state.yaml
|-- 10-oidc-google.yaml
`-- 20-role-editor.yaml
Keep each role, connector, and policy as a manifest in your repository. Review changes in pull requests and inspect their history with git log.
One binary, not seven
Teleport distributes separate packages for Community (teleport) and Enterprise (teleport-ent). The control plane, bots, ChatOps plugins, and SIEM forwarders can require as many as seven server processes (teleport, tbot, teleport-slack, teleport-pagerduty, teleport-jira, teleport-event-handler, and fluentd).
AlmaForge ships the same almad binary for Free and Enterprise. Activate a signed license file offline without swapping packages or binaries. The same process runs Auth, Proxy, resource agents, direct S3 audit streaming, and ChatOps integrations. See deployment.
ALMA_AUTH_SERVICE=true
ALMA_PROXY_SERVICE=true
ALMA_SLACK_SERVICE=true
ALMA_PAGERDUTY_SERVICE=true
ALMA_JIRA_SERVICE=true
ALMA_TELEGRAM_SERVICE=true
One port, not eight
Standard multi-port Teleport deployments expose up to eight proxy listeners (443 or 3080, 3021, 3023, 3024, 3026, 3036, 5432, 27017) across firewalls and load balancers, plus separate Auth and agent ports. Enabling proxy_listener_mode: multiplex consolidates client and agent traffic onto 443 while keeping 3021 for proxy peering. See Networking for the AlmaForge listener set.
By default, AlmaForge multiplexes client access, agent reverse tunnels, the Web UI, and gRPC administration over HTTPS, TLS, and mTLS on one TCP 443 listener. This default requires no listener-mode migration in cluster state. Set ALMA_POSTGRES_LISTEN and ALMA_MYSQL_LISTEN if PostgreSQL or MySQL needs a dedicated port.
ALMA_LISTEN=0.0.0.0:443
ALMA_ADVERTISE=almaforge.example.com:443
ALMA_POSTGRES_LISTEN=0.0.0.0:5432
Direct SIEM and S3 audit export
Teleport can store audit events in S3. Storing and searching those events requires an AWS pipeline with Athena, Glue, SNS, and SQS. To forward audit events to Splunk, Datadog, Panther, or Elastic, deploy the separate teleport-event-handler plugin and provision mTLS credentials. Teleport recommends renewing those credentials with tbot. Run Fluentd, Logstash, or a Splunk forwarder behind the plugin.
almad streams audit events as gzipped JSON Lines (.jsonl.gz) directly to Amazon S3 or an S3-compatible store such as MinIO, Ceph, Cloudflare R2, or Backblaze B2. Modern SIEMs can ingest that format natively. Send events to multiple destinations across S3, local files, stdout, and databases without running teleport-event-handler, tbot, or fluentd. Session recordings have their own index (records-index/), so you can still list and replay them when audit events go only to an external SIEM. See S3 storage.
ALMA_AUDIT_URI=s3://siem-audit-bucket/events?region=us-east-1
Built-in OpenTelemetry
Teleport splits observability across Prometheus /metrics scraping, external log forwarders for process logs, and a custom tracing_service YAML block for traces.
almad sends metrics, logs, and traces directly to any OpenTelemetry Collector or OTLP-compatible backend over OTLP (http/protobuf or grpc). Set the standard OTEL_EXPORTER_OTLP_* environment variables on control-plane and agent hosts. See Monitoring.
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
Zero telemetry
Teleport Community ships opt-in usage tracking, and its official GitHub Actions examples set anonymous-telemetry: 1 on tbot. Self-hosted Teleport Enterprise reports anonymized per-user counts to Teleport servers for billing, including logins, sessions, Kubernetes API requests, and port forwards.
Every edition of AlmaForge runs without outbound telemetry, usage metering, update checks, or call-home. The only outbound connections almad opens are to the IdP, ChatOps integrations, OTLP collector, ACME CA, and storage backends you configure. See Privacy.
Self-hosted and air-gapped
Teleport centers new capabilities on Teleport Cloud. In this deployment, the CA keys, session routing, and upgrade schedule are on vendor infrastructure. Features such as Beams run exclusively there. For disconnected networks, teleport-update CDN requests and Enterprise metering complicate operation.
You host AlmaForge yourself and can run it entirely offline. Mirror the GPG-signed APT and YUM repositories, standalone tarballs, install.sh, and multi-architecture container images to an internal HTTP server and registry. Use skopeo copy --all for the images and pin them by sha256 digest. Use an internal OIDC provider such as Keycloak or Dex, private PKI certificates, and on-premises storage. See Air-gapped deployment.
- For on-premises HA state, use self-hosted PostgreSQL or etcd. Use SQLite for a single-node deployment.
- For on-premises audit events and session recordings, stream
.jsonl.gzaudit logs and recordings directly to self-hosted S3-compatible storage such as MinIO, Ceph RGW, SeaweedFS, or Garage. You can also write to local disk viadir://. These options require no cloud egress or AWS Athena or Glue stack.
ALMA_TLS_CERT=/etc/almaforge/tls/proxy.crt
ALMA_TLS_KEY=/etc/almaforge/tls/proxy.key
ALMA_STATE_URI=postgres://almaforge@postgres.internal:5432/almaforge?sslmode=verify-full
ALMA_AUDIT_URI=s3://almaforge-audit/events?endpoint=https://minio.internal:9000®ion=us-east-1
ALMA_RECORDINGS_URI=s3://almaforge-recordings/sessions?endpoint=https://minio.internal:9000®ion=us-east-1
Native upgrades
Teleport requires upgrading through each major release in strict Auth -> Proxy -> Agent order without skipping major versions. Agents cannot run a newer major version than Auth, and when tsh on an engineer's laptop updates a major version ahead of the cluster, it warns on every command.
Upgrade AlmaForge in place with apt, yum, or helm upgrade using your existing OS packaging and Kubernetes release automation (Upgrades). Upgrade control-plane replicas first, then upgrade clients and agents on your own schedule. Clients and agents from the previous release remain compatible during rolling upgrades, without downtime:
sudo apt-get update && sudo apt-get install -y almaforgesudo systemctl restart almadAgent-friendly CLI
Unattended coding agents struggle with human-oriented CLIs. Interactive tsh login prompts hang agent loops, unstructured error text is brittle to parse, and agents have to guess flags and resource schemas or rely on custom wrapper scripts.
alma is built for both humans and coding agents such as Claude Code, Codex, Antigravity, OpenCode, and Pi. In agent harnesses (AI_AGENT, AGENT), the CLI switches to JSON output automatically and returns structured JSON errors ({"error":{"code","message","hint"}}) with semantic exit codes from 2 to 7. Expired credentials return exit 3 immediately without waiting for a browser prompt. The CLI also includes non-blocking request create, live schema inspection with alma explain, in-process workload identity, and a built-in agent skill you can install with alma install skill.
# Install the AlmaForge skill for your AI coding agentalma install skill
# Run a scoped, non-interactive queryexport ALMA_PROXY=almaforge.example.com:443export ALMA_CLIENT_ID=orders-reporterexport ALMA_JOIN_METHOD=gcpalma exec db/orders -u readonly -- -c "SELECT count(*) FROM orders;"Alice asks Claude Code why checkout times out. It starts by listing the clusters AlmaForge lets it reach.
The agent reads the checkout logs on prod-eu. Its database queries time out.
With no standing access to the database, the agent requests read-only access and waits for approval.
The agent finds billing-worker holding a lock that checkout waits on.
The billing-worker logs show why it never commits. The grant expires on its own.
What AlmaForge Deliberately Doesn't Do
AlmaForge is built by engineers, for engineers. We believe in the Unix philosophy: do one thing exceptionally well and stay the hell out of the way. We don't reinvent tools that already work, invent buzzwords for things that already have names, or ship rewrites of them as paid add-ons. Servers are servers. Roles are roles. Short-lived certificates are short-lived certificates. No marketing theater. No artificial complexity. No feature checklists sold as separate tiers. Just infrastructure access, done right:
| Available in Teleport | AlmaForge opinion |
|---|---|
Local user database & SCIMA shadow user directory with its own password hashes, local MFA, tctl users add, and SCIM sync pipelines that drift out of sync with your IdP. | Use your SSO. You almost certainly run an identity provider already (and if you do not, it is time to deploy Keycloak or an OIDC IdP). We treat your SSO as the only source of truth: zero local accounts, zero password hashes, and instant offboarding when you suspend a user. |
| SAML IdP modeAn Enterprise feature turning your infrastructure access proxy into a second identity provider that issues SAML assertions to third-party SaaS apps. | Use your IdP. Your identity provider logs people into SaaS apps. We issue short-lived certificates for your servers, Kubernetes clusters, and databases. You do not need a second IdP inside your access proxy. |
Teleport VNetA virtual network interface and local DNS interceptor that claims 100.64.0.0/10 by default (the exact CGNAT block Tailscale uses), with their docs offering a different CIDR or disabling your VPN when they collide. | Use your VPN. Keep WireGuard, Tailscale, or your corporate VPN running. We stay out of your laptop's DNS and routing table, and give you alma port-forward whenever you want a local socket. |
| Identity Activity CenterA separate "Identity Security" analytics dashboard to license, staff, and check at 3 a.m. alongside your real SOC tools. | Use your SIEM. Your security team already lives in Splunk, Datadog, Elastic, or Panther. We stream clean, structured JSON audit logs straight into your S3 bucket or collector instead of running a second pane of glass. |
| Crown Jewel AlertingA feature inside the paid "Identity Security" tier just to mark a production target as critical and alert when access paths to it change. | Use labels and your SIEM. Tag critical targets with env=prod or tier=crown-jewel. Every AlmaForge target audit event includes those labels (spec.server.labels, spec.database.labels) and role changes live in Git, so your existing SIEM and CI rules alert on them with zero extra tier to buy. |
| Access ListsAn Enterprise governance module with membership lists, owners, and recurring review reminders layered on top of the roles and IdP groups you already maintain. | Use your IdP groups and JIT requests. You already review group membership in Okta, Entra ID, or Keycloak, where it belongs. Keep baseline role assignments in your IdP, grant elevated production access through time-bound requests that expire automatically, and skip re-certifying a second set of lists inside your access proxy. |
| Teleport ConnectA bloated Electron desktop app bundling an entire Chromium browser just to render a terminal and SQL window. | Use iTerm2, Ghostty, and DBeaver. Engineers hate being forced into a vendor GUI wrapper. We write short-lived certificates into standard local configs so ssh, kubectl, psql, VS Code, and DataGrip just work. |
| Teleport Beams24-hour sandbox VMs on Teleport Cloud that proxy inference API traffic through Teleport VNet by default and attribute beam activity in Teleport's audit log. | Use your own compute. Your laptops, CI runners, and Kubernetes pods already run your workloads and talk directly to Anthropic, OpenAI, or Bedrock. You do not need to rent vendor microVMs or route LLM traffic through an access proxy. See Agent-friendly CLI. |
| Cloud console proxyWedging an extra proxy and role-mapping layer in front of the AWS, GCP, and Azure web consoles. | Use native cloud IAM. AWS IAM Identity Center, GCP, and Azure have federated natively with corporate SSO for years. Proxying a web console that already trusts your IdP adds friction your IdP federation already removes. |
| Windows Desktop RDPAdding a Windows RDP protocol gateway and Active Directory SID lookup engine to a Linux access plane. | Built for Linux and Kubernetes. Modern infrastructure and automation run on Linux shells, Kubernetes APIs, and databases, not clicking Windows GUIs over RDP. Dropping RDP keeps our binary, RBAC model, and attack surface tight. |
AlmaForge licensing
Infrastructure access is on the critical path of production. Corporate SSO should not be a premium feature, your access plane should not phone home for billing purposes, and an expired commercial license should never stand between your engineers and production.
Teleport reserves corporate OIDC and SAML connectors, Web UI and resource access requests, and approval thresholds for its Enterprise edition. Organizations with more than 100 employees or $10M in annual revenue cannot use the official Community Edition binaries. Building from source means accepting strong AGPLv3 copyleft obligations that can derail an enterprise rollout during legal review. Self-hosted Teleport Enterprise requires a separate teleport-ent package and reports anonymized usage metrics to Teleport's servers. Enterprise features, including corporate SSO, stop working 30 days after the license expires.
Deploy in minutes with no trial countdown, credit card, or sales call. Eliminate static credentials with short-lived certificates across servers, Kubernetes, databases, and private APIs. Corporate OIDC SSO, just-in-time access requests, session replay with audit trails, and direct S3 SIEM streaming are included from day one.
From two-person startups to global enterprises, any organization can run AlmaForge Free under a human-readable plain-text license. Free includes the complete platform for up to 50 SSH nodes, with unlimited bots and additional published capacity limits. There are no employee-count limits, revenue thresholds, or AGPLv3 copyleft obligations. Moving to Enterprise requires no reinstallation or migration. Simply activate your license offline using the same package.
An Enterprise license pays for support, maintenance, and access to new releases, not the continued operation of your infrastructure. If you choose not to renew, SSO, access requests, and RBAC policies continue to work on the version you already have. Your cluster never reports usage data or calls home.
See Pricing for licensing details and support plans.
Cheat sheet
Two binaries replace seven Teleport tools. Startup settings move out of the YAML file, resource manifests use the Kubernetes document format, and role fields get new names while keeping their meaning. Use the tables below to look up the mappings.
Binaries
| Teleport tool | AlmaForge equivalent | Function |
|---|---|---|
teleport | almad | Control plane services and node agent |
tsh | alma | End-user access tool for SSH, Kubernetes, database, and app targets |
tctl | alma | Cluster administration, gated by RBAC |
tbot | alma | Workload identity for CI/CD and automation |
teleport-slack, teleport-jira, teleport-pagerduty | Built into almad | Slack, PagerDuty, and Jira run inside the daemon, and Telegram joins them |
teleport-event-handler and its Fluentd pipeline | Built into almad | Audit events stream straight to S3, a file, stdout, or a database sink, with no forwarder process, no mTLS keypair issued to it, and no Fluentd config to maintain |
teleport-ent | almad | One binary for Free and Enterprise. A license file is applied offline, not a different package |
See the CLI reference for the full command tree. The user and admin tools carry the same certificates. The Auth Service determines what each identity can do. The server still enforces that boundary, so Auth rejects alma get role for users without permission. For workload identity, alma reads the join settings from environment variables and enrolls directly, without reading an identity file written by another process.
Commands
All commands run through one binary. When a cell lists two spellings, the first is the primary command. The second is a familiar tsh or tctl alias that runs the same code. Some aliases are accepted but hidden from --help, including ls, db connect, proxy db, play, and lock. Login follows two paths. People sign in through your identity provider with alma login (SSO). Machines join with a Token and a join method (workload identity). Neither path uses a user password. Local accounts, passwordless login, and the MFA mode picker do not carry over. Auth hosts retain break-glass recovery.
| Teleport | AlmaForge |
|---|---|
| Session | |
tsh login --proxy=almaforge.example.com | alma login --proxy=almaforge.example.com |
tsh login --browser=none --bind-addr=… | alma login --no-browser |
tsh login --request-id=<id> | alma request assume <id>alma request assume # the last approval |
tsh login --user=alice with a password prompt | alma login for a person, through your identity provider |
tsh login --auth=local, --auth=passwordless | alma login for a person, ALMA_CLIENT_ID plus a join method for a machine |
tsh login --mfa-mode=…, tsh mfa add, tsh mfa ls | Enroll and enforce factors in your identity provider, which the login flow honors |
tsh login --headless | alma login --no-browser for a person on a remote host, workload identity for CI |
Local tctl on the Auth host for recovery | sudo alma <command> # on an Auth hostsudo alma login --breakglass # Web UI link |
tsh status | alma status |
tctl status | alma status |
tsh logout | alma logout |
tsh version | alma version |
| Find resources | |
tsh ls | alma get serveralma ls |
tctl nodes ls | alma get serveralma node ls |
tsh ls env=prod | alma get server env=prodalma ls env=prod |
tsh kube ls | alma get kubealma kube ls |
tsh db ls | alma get dbalma db ls |
tsh apps ls | alma get appalma app ls |
tctl users ls | alma get user |
tctl tokens ls | alma get token |
tctl bots ls | alma get bot |
tctl inventory list | alma get instance |
| Connect | |
tsh ssh user@host | alma ssh user@hostalma exec server/host -u user |
tsh ssh host <command> | alma ssh host <command>alma exec server/host -- <command> |
tsh ssh -A -t -p 2222 host | alma ssh -A -t -p 2222 host # same flags |
tsh ssh -L 8080:localhost:80 -N host | alma ssh -L 8080:localhost:80 -N hostalma port-forward server/host 8080:80 |
tsh ssh -D 1080 host | alma ssh -D 1080 host # SOCKS5 |
tsh scp src dest | alma scp src dest |
tsh kube login <name> | alma kube login <name>alma exec kube/<name> -- <args> # temporary kubeconfig |
tsh db login <name> | alma db login <name> |
tsh db connect <name> | alma exec db/<name>alma db connect <name> |
tsh db config | alma db config |
tsh db env | alma db env |
tsh db logout <name> | alma db logout <name> |
tsh apps login <name> | alma app login <name> |
tsh apps config | alma app config |
tsh apps logout <name> | alma app logout <name> |
tsh proxy db <name> | alma port-forward db/<name>alma proxy db <name> |
tsh proxy app <name> | alma port-forward app/<name>alma proxy app <name> |
tsh ssh -L 8080:localhost:80 host | alma port-forward server/host 8080:80 |
| Sessions and audit | |
tsh sessions ls --kind=kube | alma kube sessions |
tsh recordings ls | alma recording ls |
tsh play <id> | alma recording play <id>alma play <id> |
No CLI equivalent. Web UI, or teleport-event-handler into a SIEM | alma audit # tail and follow the audit log in your terminal |
| Access requests | |
tsh request ls | alma request ls |
tsh request create | alma request create |
tsh request show <id> | alma request show <id> |
tsh request search | alma request search |
tsh request drop | alma request drop |
tctl request approve <id> | alma request review <id> |
| Resources | |
tctl create role.yaml | alma apply -f role.yaml # create or update |
tctl create -f role.yaml, where -f is --force | alma apply -f role.yaml |
tctl get roles | alma get role # table by default |
tctl get role/devops | alma get role/devops -o yaml |
tctl edit role/devops | alma edit role/devops |
tctl rm role/devops | alma delete role/devopsalma rm role/devops |
tctl tokens add --type=node | alma create token --services=ssh |
tctl tokens rm <name> | alma delete token/<name> |
tctl users add alice --roles=access | Map an identity provider claim to a role, or alma create bot for a machine account |
tctl users reset alice | Reset the account in your identity provider. Nothing to reset here |
tctl bots add <name> --roles=… | alma create bot <name> --roles=… |
tctl bots rm <name> | alma delete bot/<name> |
tctl lock --user=alice | alma create lock --target-user=alicealma lock --target-user=alice |
tctl alerts ls | alma get alertalma alert ls |
tctl alerts create <message> | alma alert create <message> |
| No CLI equivalent. Look the field up in the docs | alma explain <kind> # kinds and schema fields |
tbot output destinations | alma export -c <file>.yaml |
| Server | |
teleport start -c /etc/teleport.yaml | almad start with ALMA_* and /etc/almaforge/almad.d/ |
See the CLI reference for the full command tree.
Configuration
Settings from teleport.yaml move to two places based on whether they govern startup or cluster resources.
- Daemon configuration controls startup, including services, addresses, data paths, and join settings. Supply
ALMA_*environment variables and CLI flags through the process manager or Pod spec. - Resource configuration defines cluster state, including roles, connectors, tokens, targets, and storage. Use Kubernetes-style manifests. Apply them with
alma apply -for place them in/etc/almaforge/almad.d/.
See Infrastructure as Code for file ownership rules, rollout, and rollback. The environment variable reference lists all variables, and the configuration reference lists every resource kind.
Teleport (teleport.yaml) | AlmaForge |
|---|---|
| Services | |
auth_service.enabled | ALMA_AUTH_SERVICE=true |
proxy_service.enabled | ALMA_PROXY_SERVICE=true |
ssh_service.enabled | ALMA_SSH_SERVICE=true |
db_service.enabled | ALMA_DATABASE_SERVICE=true |
kubernetes_service.enabled | ALMA_KUBERNETES_SERVICE=true |
app_service.enabled | ALMA_APP_SERVICE=true |
| Daemon settings | |
teleport.data_dir | ALMA_DATA_DIR |
teleport.nodename | ALMA_NODE_NAME |
ssh_service.labels | ALMA_LABELS |
resources label matcher | ALMA_MATCH_LABELS |
teleport.auth_token | ALMA_CLIENT_ID and ALMA_CLIENT_SECRET |
teleport.proxy_server | ALMA_PROXY |
teleport.auth_server | ALMA_AUTH_SERVER, to reach Auth directly instead of through the Proxy |
teleport.join_params.method | ALMA_JOIN_METHOD |
teleport.ca_pin | ALMA_CA_PIN |
teleport.log.output | ALMA_LOG_OUTPUT |
teleport.log.severity | ALMA_LOG_LEVEL |
teleport.log.format.output | ALMA_LOG_FORMAT |
teleport.diag_addr | ALMA_DIAG_LISTEN |
auth_service.license_file | ALMA_LICENSE_FILE |
| Listeners and addresses | |
proxy_service.web_listen_addr (3080) | ALMA_LISTEN, one TLS port for every protocol, default 0.0.0.0:443 |
proxy_service.public_addr | ALMA_ADVERTISE |
teleport.advertise_ip | ALMA_ADVERTISE |
proxy_service.tunnel_listen_addr (3024) | ALMA_TUNNEL_LISTEN |
proxy_service.kube_listen_addr (3026) | ALMA_KUBE_LISTEN |
proxy_service.mysql_listen_addr (3036) | ALMA_MYSQL_LISTEN |
proxy_service.postgres_listen_addr (5432) | ALMA_POSTGRES_LISTEN |
proxy_service.mongo_listen_addr (27017) | ALMA_MONGO_LISTEN |
proxy_service.peer_listen_addr (3021) | ALMA_PEER_LISTEN |
proxy_service.<protocol>_public_addr | ALMA_<PROTOCOL>_ADVERTISE, falling back to ALMA_ADVERTISE |
auth_service.listen_addr (3025), auth_service.public_addr | None. Auth is always served on ALMA_LISTEN |
ssh_service.listen_addr (3022), kubernetes_service.listen_addr | None. Agents open no port and dial out |
auth_service.proxy_listener_mode | Not applicable. ALMA_LISTEN always multiplexes |
proxy_service.proxy_protocol | ALMA_PROXY_PROTOCOL, whether a PROXY header is required |
proxy_service.trust_x_forwarded_for | ALMA_REAL_IP_FROM and ALMA_REAL_IP_HEADER, the trusted networks and the one channel they speak through |
proxy_service.acme.* | ALMA_ACME_ENABLED, ALMA_ACME_EMAIL |
proxy_service.https_cert_file, https_key_file | ALMA_TLS_CERT, ALMA_TLS_KEY |
| Storage | |
teleport.storage | ALMA_STATE_URI, or a StorageConfig manifest in /etc/almaforge/almad.d/ (recommended) |
teleport.storage.audit_events_uri | ALMA_AUDIT_URI, or a StorageConfig manifest in /etc/almaforge/almad.d/ (recommended) |
teleport.storage.audit_sessions_uri | ALMA_RECORDINGS_URI, or a StorageConfig manifest in /etc/almaforge/almad.d/ (recommended) |
| Cluster policy, as manifests | |
auth_service.authentication.*, message_of_the_day, disconnect_expired_cert | AuthConfig manifest |
auth_service.client_idle_timeout, keep_alive_*, routing_strategy, tunnel_strategy | NetworkConfig manifest |
auth_service.session_recording, proxy_checks_host_keys | RecordingConfig manifest |
auth_service.cluster_name | ClusterName manifest |
auth_service.tokens | Token manifests |
db_service.databases[*], app_service.apps[*] | DatabaseTarget, AppTarget manifests |
A teleport-plugin-*.toml and process for each integration | JiraConnector, SlackConnector, PagerdutyConnector, TelegramConnector manifests, enabled with ALMA_JIRA_SERVICE and friends inside almad (Jira, Slack, PagerDuty, Telegram) |
| Files and directories | |
/etc/teleport.yaml | /etc/almaforge/almad.env for variables, /etc/almaforge/almad.d/ for manifests |
/var/lib/teleport | /var/lib/almaforge |
teleport.service | almad.service |
~/.tsh | $XDG_CONFIG_HOME/almaforge/, ~/.config/almaforge/ by default |
/etc/tsh.yaml | None. There is no machine-wide client config |
| Client environment | |
TELEPORT_PROXY | ALMA_PROXY |
TELEPORT_LOGIN | ALMA_LOGIN |
TELEPORT_CLUSTER | ALMA_CLUSTER |
TELEPORT_KUBECONFIG | ALMA_KUBECONFIG |
TELEPORT_IDENTITY_FILE | ALMA_IDENTITY_FILE |
TELEPORT_HOME | None. Set XDG_CONFIG_HOME |
| Resource kinds | |
node | Server |
proxy | ProxyServer |
auth_server | AuthServer |
instance | Instance |
kube_cluster | KubernetesTarget |
kube_server | Kubernetes |
db | DatabaseTarget |
db_server | Database |
db_service | DatabaseService |
app | AppTarget |
app_server | App |
role | Role |
user | User |
token | Token |
lock | Lock |
access_request | AccessRequest, managed with alma request |
session_tracker | Session |
cert_authority | CertificateAuthority |
cluster_name | ClusterName |
cluster_auth_preference | AuthConfig |
cluster_networking_config | NetworkConfig |
session_recording_config | RecordingConfig |
cluster_alert | ClusterAlert |
oidc | OIDCConnector |
github | GithubConnector |
| One TOML file per ChatOps plugin process | JiraConnector, SlackConnector, PagerdutyConnector, TelegramConnector |
storage section of teleport.yaml | StorageConfig |
In secret fields, use ${file:…} or ${env:…} in place of the old *_uri fields. See resource value expansion.
Manifests use four top-level keys (apiVersion, kind, metadata, and spec). The metadata section uses Kubernetes ObjectMeta naming and label conventions (name, labels, resourceVersion). Apply manifests with alma apply -f or place them in /etc/almaforge/almad.d/.
kind: role
version: v8
metadata:
name: platform-eng
description: Platform engineers
revision: 38682f30-0523-42f1-afa2-c158eb01c9c8
expires: '2026-03-31T22:47:10Z'
spec:
allow:
logins: ['ubuntu']
node_labels:
env: ['dev']
apiVersion: almaforge.com/v1
kind: Role
metadata:
name: platform-eng
labels:
team: platform
resourceVersion: 38682f30-0523-42f1-afa2-c158eb01c9c8
spec:
allow:
serverLogins: ['ubuntu']
serverLabels:
env: ['dev']
For a longer role example with session options and {{external.*}} templates, see Label-based RBAC. Declarative configuration lists every kind and field.
The next three examples show where sections of teleport.yaml move. Start by putting control-plane startup settings in an environment file.
version: v3
teleport:
nodename: alma-01
data_dir: /var/lib/teleport
auth_service:
enabled: true
cluster_name: almaforge.example.com
proxy_service:
enabled: true
web_listen_addr: 0.0.0.0:443
public_addr: almaforge.example.com:443
acme:
enabled: true
email: admin@example.com
ssh_service:
enabled: false
ALMA_NODE_NAME=alma-01
ALMA_DATA_DIR=/var/lib/almaforge
ALMA_AUTH_SERVICE=true
ALMA_PROXY_SERVICE=true
ALMA_SSH_SERVICE=false
ALMA_LISTEN=0.0.0.0:443
ALMA_ADVERTISE=almaforge.example.com:443
ALMA_ACME_ENABLED=true
ALMA_ACME_EMAIL=admin@example.com
Move an inline database definition to a drop-in manifest.
db_service:
enabled: true
databases:
- name: orders
protocol: postgres
uri: orders.internal:5432
static_labels:
env: prod
apiVersion: almaforge.com/v1
kind: DatabaseTarget
metadata:
name: orders
labels:
env: prod
spec:
protocol: postgres
uri: orders.internal:5432
Set ALMA_PROXY, ALMA_CLIENT_ID, and ALMA_CLIENT_SECRET on the agent that serves the database. The agent enables its database service when it finds the manifest.
Give state, audit events, and recordings separate storage settings. Audit events and recordings no longer share one storage block.
teleport:
storage:
type: dynamodb
region: us-east-1
table_name: alma-state
audit_events_uri:
- dynamodb://alma-events
audit_sessions_uri: s3://alma-recordings
continuous_backups: true
apiVersion: almaforge.com/v1
kind: StorageConfig
metadata:
name: state
spec:
dynamo:
region: us-east-1
tableName: alma-state
---
apiVersion: almaforge.com/v1
kind: StorageConfig
metadata:
name: audit
spec:
dynamo:
region: us-east-1
tableName: alma-events
auditRetentionPeriod: 365d
---
apiVersion: almaforge.com/v1
kind: StorageConfig
metadata:
name: recordings
spec:
s3:
bucket: alma-recordings
Each destination has its own instance. To add a second audit destination, add another audit-<suffix> document. See Storage backends.
If a service flag is unset, almad uses the host and the resources in /etc/almaforge/almad.d/ to decide which service to enable. On most hosts you can leave all service flags unset.
One port is the default. If you use separate ports today, you can keep the same port numbers. See Networking.
tsh merges settings from ~/.tsh, the machine-wide /etc/tsh.yaml, and TELEPORT_HOME. The alma configuration directory contains alma.yaml and a profiles/ tree with session metadata and short-lived keys. Running alma logout clears the tree. See the CLI guide.
SSO
Teleport Enterprise connects to an IdP through a saml or oidc connector. Community Edition supports only GitHub. Both editions have a local user store alongside the IdP. Every edition of AlmaForge uses one connector kind, OIDCConnector, and its fields line up with Teleport's oidc connector one for one. Only the envelope and the spelling change, and redirect_url has no counterpart because the callback is fixed at https://<proxy-host>/api/v1/oidc/callback. Teleport takes the client secret as a literal string in the connector, while clientSecret here reads it from the environment or a file, so the manifest stays safe to commit. Both sides support PKCE, and pkceMode defaults to auto, which reads the provider's discovery document and enables PKCE only where the provider advertises it instead of asking you to choose. To migrate a SAML connector from Okta, Entra ID, or Google Workspace, register an OIDC application in the same provider and map the same groups.
kind: oidc
version: v3
metadata:
name: okta
spec:
display: Okta
issuer_url: https://example.okta.com/oauth2/default
client_id: <client-id>
client_secret: <client-secret>
scope: [openid, email, profile, groups]
claims_to_roles:
- claim: groups
value: platform-eng
roles: [access]
pkce_mode: enabled
redirect_url: https://teleport.example.com:443/v1/webapi/oidc/callback
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
name: okta
spec:
display: Okta
issuerURL: https://example.okta.com/oauth2/default
clientID: ${env:OIDC_CLIENT_ID}
clientSecret: ${env:OIDC_CLIENT_SECRET}
scope: [openid, email, profile, groups]
claimsToRoles:
- claim: groups
value: platform-eng
roles: [access]
pkceMode: auto
Put the first connector in /etc/almaforge/almad.d/. The daemon loads it at startup so an administrator can sign in to the new cluster. See OIDC SSO, Okta, Microsoft Entra ID, Google, and multiple connectors.
RBAC
Roles carry over with changes only to the top-level structure and field names. Label selectors, allow and deny precedence, predicate expressions, session options, and {{external.*}} claim templates behave the same way. Rename logins to serverLogins, node_labels to serverLabels, db_* to database*, and max_session_ttl to maxSessionTTL.
See Label-based RBAC for a full role side by side, and the RBAC guide for every field, preset, and templating rule.
Terraform
The Terraform provider uses the same resource kinds, metadata and spec structure, and fields as the manifests, with Terraform's snake_case spelling. You can express the same role in HCL using the schema you know from the manifest.
The Teleport provider needs an address and a credential from a tsh profile, an identity file, or a key and certificate pair. For static tokens in CI, create a bot identity with tctl and renew it with tbot. Sign in through alma and Terraform uses your login profile. You can leave the address and credential unset in the provider config.
# Laptop: sign in and use the tsh profiletsh login --proxy=teleport.example.com:443
# CI/CD: a bot, a config file, and tbot to mint the identitytctl bots add terraform --roles=editorcat > /etc/tbot.yaml <<'EOF'version: v2oneshot: trueproxy_server: teleport.example.com:443onboarding: join_method: token token: <token>storage: type: directory path: /var/lib/tbot-stateservices: - type: identity destination: type: directory path: /srv/tbot/identityEOFtbot start -c /etc/tbot.yaml# Laptop: sign in with interactive SSOalma login --proxy=almaforge.example.com:443
# CI/CD: the same bot, then log in from the job itselfalma create bot terraform --roles=adminexport ALMA_PROXY=almaforge.example.com:443export ALMA_CLIENT_ID=terraformexport ALMA_CLIENT_SECRET=<secret>alma loginBoth examples use a shared secret. For an attested join, configure a Token with the provider's allow rules on either platform. For the new cluster, set ALMA_JOIN_METHOD=github or authenticate with alma workload identity. In Teleport, set join_method and join_token directly on provider "teleport" (or in tbot.yaml). See workload identity.
terraform {
required_providers {
teleport = {
source = "terraform.releases.teleport.dev/gravitational/teleport"
}
}
}
# addr, or TF_TELEPORT_ADDR. Credential defaults to
# the tsh profile, or an identity file or key and cert.
provider "teleport" {
addr = "teleport.example.com:443"
identity_file_path = "/srv/tbot/identity"
}
terraform {
required_providers {
almaforge = {
source = "get.almaforge.com/almaforge/almaforge"
}
}
}
# Reads the profile under ~/.config/almaforge.
# ALMA_PROXY picks one of several.
provider "almaforge" {}
The same resource fields appear in both examples.
resource "teleport_role" "developers" {
version = "v8"
metadata = {
name = "developers"
}
spec = {
options = {
max_session_ttl = "8h"
forward_agent = true
}
allow = {
logins = ["ubuntu"]
node_labels = {
env = ["dev"]
}
kubernetes_groups = ["view"]
kubernetes_labels = {
env = ["dev"]
}
db_labels = {
env = ["dev"]
}
db_users = ["readonly"]
rules = [{
resources = ["session"]
verbs = ["list", "read"]
}]
}
deny = {
node_labels = {
env = ["prod"]
}
}
}
}
resource "almaforge_role" "developers" {
metadata = {
name = "developers"
}
spec = {
options = {
max_session_ttl = "8h"
forward_agent = true
}
allow = {
server_logins = ["ubuntu"]
server_labels = {
env = ["dev"]
}
kubernetes_groups = ["view"]
kubernetes_labels = {
env = ["dev"]
}
database_labels = {
env = ["dev"]
}
database_users = ["readonly"]
rules = [{
resources = ["session"]
verbs = ["list", "read"]
}]
}
deny = {
server_labels = {
env = ["prod"]
}
}
}
}
The provider ships for Linux and macOS on amd64 and arm64. The Terraform guide covers planning and applying changes, importing existing resources, and authentication for CI. The Terraform reference lists the schema for every resource and data source.
Helm
The two charts are almaforge for the control plane and almaforge-agent for agents. They replace teleport-cluster and teleport-kube-agent, respectively. Set the same ALMA_* variables in env: that you use on a VM or in a container. Use configs: to supply the drop-in files by filename. The charts require no chartMode or listener-mode selection.
To enroll a Kubernetes cluster, create a join token and install the agent chart.
tctl tokens add --type=kube,db,apphelm repo add teleport https://charts.releases.teleport.devhelm install teleport-agent teleport/teleport-kube-agent \ --namespace teleport-agent --create-namespace \ --set proxyAddr=teleport.example.com:443 \ --set authToken=[token] \ --set roles=kube,db,app \ --set kubeClusterName=prod-cluster \ --set labels.env=prodalma create token --services=kubernetes,database,apphelm repo add almaforge https://get.almaforge.com/helmhelm install almaforge-agent almaforge/almaforge-agent \ --namespace almaforge --create-namespace \ --set env.ALMA_PROXY=almaforge.example.com:443 \ --set env.ALMA_CLIENT_ID=[client-id] \ --set env.ALMA_CLIENT_SECRET=[client-secret] \ --set clusterName=prod-cluster \ --set labels.env=prodThe control-plane chart includes and enables a three-member etcd StatefulSet and an in-cluster S3 gateway for recordings by default. You can run HA without a cloud account. See the Helm reference for every value, Cluster on Kubernetes for the control plane, and Kubernetes access for the agent walkthrough.
Migration procedure
Run AlmaForge alongside Teleport until you are ready to switch. It uses its own binary, almad.service unit, /var/lib/almaforge data directory, CA, and outbound tunnels. Active Teleport sessions keep working during the parallel deployment.
Run AlmaForge in parallel
Give the new control plane its own DNS name so clients can distinguish the two clusters by proxy address. Follow Linux for a VM or bare metal, or Cluster on Kubernetes for Helm.
Point ALMA_STATE_URI at a dedicated database, table, or key prefix on your existing PostgreSQL, etcd, DynamoDB, or Firestore backend, or start a fresh cluster on SQLite. Audit events and recordings use separate destinations. You can send new audit events directly to S3 or any S3-compatible store while retaining the existing Teleport buckets and SIEM indexes as historical records. See Storage backends.
Connect your identity provider
Register AlmaForge as an OIDC application with the redirect URI https://<proxy-host>/api/v1/oidc/callback. Map the same group claims you use today. The new cluster needs the connector before its first admin can sign in. Place it in /etc/almaforge/almad.d/ so the daemon applies it at startup.
If Teleport signs users in through SAML, register a new OIDC application in the same provider. Follow OIDC SSO, Okta, Microsoft Entra ID, or Google. Verify break-glass recovery before you rely on it.
Port your RBAC
Export the roles your users hold by name. Skip Teleport's built-in access, editor, auditor, and requester presets.
tctl get role/<role-1>,role/<role-2> --format=yaml > roles.yamlEdit the exported role's top-level structure and field names. See RBAC for the renames.
kind: role
version: v8
metadata:
name: platform-eng
spec:
allow:
logins: ['ubuntu']
node_labels:
env: ['dev']
db_users: ['readonly']
apiVersion: almaforge.com/v1
kind: Role
metadata:
name: platform-eng
spec:
allow:
serverLogins: ['ubuntu']
serverLabels:
env: ['dev']
databaseUsers: ['readonly']
Remove fields that AlmaForge does not use, apply the manifest, and read it back to verify it.
alma apply -f roles.yamlalma get role/platform-eng -o yamlFor a large role set, apply the field renames to the export with sed or a short script. Contact us for help reviewing your roles.
Enroll your resources
Install almad on hosts that already run teleport. Enroll and verify one resource type at a time while production traffic still flows through Teleport. Start with servers (or register existing sshd hosts in OpenSSH agentless mode with almad join openssh), then move on to Kubernetes, databases, and applications.
Targets use their own credentials from alma create token, so the existing Teleport tokens and enrollment stay in place. Apply the Slack, Telegram, Jira, and PagerDuty connectors to the new cluster. Move CI runners to workload identity.
Switch, or roll back
Distribute alma and have engineers connect to the new proxy. Then confirm the inventory.
alma login --proxy=almaforge.example.com:443alma get server && alma get db && alma get kubeAfter you confirm the inventory, stop the Teleport agents. Archive Teleport's audit logs and recordings according to your retention policy, revoke its join tokens, and shut down its control plane.
Until you shut down the Teleport control plane, roll back by pointing clients at the old proxy hostname. Keep the AlmaForge cluster running while you resolve the issue that prompted the rollback.
Next steps
- Start a local evaluation cluster on macOS or Linux in ten minutes.
- Deploy a standalone server alongside Teleport.
- Read how the control plane and agents fit together.
- Compare Free and Enterprise licensing.
- Review the security architecture and threat model.
- Contact our engineering team for a migration or architecture review.
Disclaimer
Teleport and its associated trademarks, product names, command names, and feature names are the property of their respective owners and are used solely for identification and comparison purposes. AlmaForge is not affiliated with, sponsored by, or endorsed by Teleport or its owners. All other trademarks are the property of their respective owners.
This comparison reflects our independent assessment of publicly available information reviewed as of November 2026. Product features, pricing, licensing, and capabilities may change over time.
