Migrating from Boundary CE§
This guide is for teams running a self-managed HashiCorp Boundary Community Edition deployment. It does not apply to Boundary Enterprise or HCP Boundary.
The hashicorp/boundary README, as read on 1 December 2026, states:
Boundary Community Edition (CE) is no longer under active development, and this repository has been archived as of October 8, 2026. Future Boundary development will focus on HCP Boundary and Boundary Enterprise
and:
No new Boundary CE releases, maintenance updates, bug fixes, or security patches are currently planned.
Existing CE binaries keep working. This guide covers moving such a deployment to Warpgate and is written against Warpgate v0.31. For a feature comparison see Warpgate vs. Boundary.
Concept mapping§
| Boundary | Warpgate | Notes |
|---|---|---|
| Org and project scopes | - | Warpgate is flat: one set of users, roles and targets. Target groups are a display grouping and do not affect access. |
tcp target with a host source |
One target per host and protocol | Protocols: SSH, HTTP, MySQL, PostgreSQL, Kubernetes, RDP, VNC. There is no generic TCP target. |
| Host catalog, host set, host | - | The host and port are fields of the target. |
| Target alias | Target name | A target has one name. An HTTP target can also be bound to a hostname. |
| Worker | - | Warpgate connects to targets directly. SSH targets can connect through another SSH target (Jump host). |
| Static credential store | Credentials stored on the target | Optionally encrypted at rest. |
| Vault credential store with a generic library | Secret backend reference | KV version 2 only. Read on every new session. |
| Vault SSH certificate library | SSH target certificate authentication |
Warpgate asks Vault to sign a fresh key for each connection. |
| Password auth method and accounts | Users with password credentials | Users set new passwords. |
| OIDC auth method | sso_providers in the config file |
See SSO. |
| LDAP auth method | - | Warpgate does not authenticate passwords against LDAP. It imports users from LDAP and syncs their SSH public keys. See LDAP. |
| Managed group | OIDC claim mapped to roles | roles_claim and role_mappings on a custom SSO provider. |
| Group | Access role | Users hold roles directly. There is no separate group object. |
| Role with grants | Access role assigned to targets, plus admin roles | See what does not map. |
boundary connect, Boundary Desktop |
The user's own client | Users connect to Warpgate with user:target as the username. |
| Terraform provider | GitOps YAML or the admin REST API | GitOps covers targets, target groups, access roles and SSH client keys. |
Things that don't map§
Check this list against your inventory before committing to a migration.
Networks with no inbound path. Warpgate has no worker or agent that dials out to it. Warpgate must be able to open a connection to every target. However, an SSH target can name another SSH target as its Jump host. Warpgate still has to reach the first hop.
Neither is equivalent to an egress worker behind NAT. For such networks you need your own tunnel or VPN from the Warpgate host.
Generic TCP targets. There is no raw TCP target type. A tcp target corresponding to one of the supported protocols becomes a target of that protocol. For anything else, the only path is SSH port forwarding (ssh -L / -R) through an SSH target: the forwarded connection is opened by the target host's SSH server, not by Warpgate itself.
Scopes. There is no org or project hierarchy and no delegated administration per scope. Admin role permissions apply to the whole instance.
Grant strings. Access is all-or-nothing per target: a user reaches a target if they hold a role that is assigned to it. There are no per-action grants and no per-role capability restrictions within a target. Admin permissions are a fixed list of switches on an admin role (create, edit and delete for targets, users, access roles and SSH keys, viewing and terminating sessions, approving sessions, viewing recordings, managing tickets, editing configuration, managing GitOps).
Target aliases. A target has exactly one name. Rename targets to what users already know where you can.
Session limits. There is no per-target connection limit and no maximum session duration. Warpgate has:
- An SSH inactivity timeout (
ssh.inactivity_timeoutin the config file) and a per-target idle timeout for PostgreSQL. - Bandwidth limits, set globally, per user or per target.
- Time-limited role grants: a user's role assignment can carry an expiry.
- Tickets with an expiry and a use count.
- Administrators can close a running session by hand.
Client workflows. There is no Warpgate client, desktop app or agent, so anything built around boundary connect, boundary authenticate or a local proxy port has to be rewritten to connect to Warpgate directly. Scripts that authenticated with a Boundary token can use a ticket as the username instead.
LDAP password login. See the table above. Users of a Boundary LDAP auth method need another way to log in: SSO, a local password, or an SSH key synced from LDAP.
Dynamic database credentials. Warpgate reads static secrets from Vault KV v2 and requests SSH certificates. It does not request credentials from Vault's database secrets engine.
Migration steps§
1. Inventory Boundary§
Authenticate as a user who can list everything, then dump each resource type. Scope-level resources list recursively from global:
boundary scopes list -recursive -scope-id global -format json > scopes.json
boundary targets list -recursive -scope-id global -format json > targets.json
boundary host-catalogs list -recursive -scope-id global -format json > host-catalogs.json
boundary credential-stores list -recursive -scope-id global -format json > credential-stores.json
boundary auth-methods list -recursive -scope-id global -format json > auth-methods.json
boundary users list -recursive -scope-id global -format json > users.json
boundary groups list -recursive -scope-id global -format json > groups.json
boundary roles list -recursive -scope-id global -format json > roles.json
boundary aliases list -recursive -scope-id global -format json > aliases.json
Host sets, hosts, credential libraries, managed groups and accounts are listed per parent and have no -recursive flag:
for id in $(jq -r '.items[].id' host-catalogs.json); do
boundary host-sets list -host-catalog-id "$id" -format json > "host-sets-$id.json"
boundary hosts list -host-catalog-id "$id" -format json > "hosts-$id.json"
done
for id in $(jq -r '.items[].id' credential-stores.json); do
boundary credential-libraries list -credential-store-id "$id" -format json > "credential-libraries-$id.json"
done
for id in $(jq -r '.items[].id' auth-methods.json); do
boundary managed-groups list -auth-method-id "$id" -format json > "managed-groups-$id.json"
boundary accounts list -auth-method-id "$id" -format json > "accounts-$id.json"
done
Read each target and role in full to get its host sources, credential sources, principals and grants:
for id in $(jq -r '.items[].id' targets.json); do
boundary targets read -id "$id" -format json > "target-$id.json"
done
for id in $(jq -r '.items[].id' roles.json); do
boundary roles read -id "$id" -format json > "role-$id.json"
done
From the result, write down:
- Every host and port behind each target, and the protocol actually spoken on it.
- Which targets are reached through a worker in a network the Warpgate host cannot reach.
- Which grants do more than "connect to these targets".
- Any target that sets a session duration or connection limit that you rely on.
2. Stand up Warpgate§
Follow Getting started (Docker, Helm) and the production checklist. Run it next to Boundary; nothing in the migration requires taking Boundary down first.
If you ran several controllers for availability, run several Warpgate nodes against one shared database - see Running a cluster. Use PostgreSQL or MySQL for this.
Upgrades need a maintenance window. Each node applies pending database migrations when it starts, and nodes do not check each other's version, so upgrade all nodes together - see Upgrading.
3. Identity§
OIDC. Add your provider under sso_providers in the config file as described in SSO, using a new client registration with Warpgate's redirect URL.
- Users are matched to an SSO login by email (default) or by subject (
match_by: subject). - With
auto_create_users: true, a user is created on first login, named after thepreferred_usernameclaim, or the email if it is absent. If a user of that name already exists without a matching SSO credential, the login fails. - Without it, create the users first and add an SSO credential to each.
Managed groups. Create one Warpgate access role per managed group that grants target access, then map the group claim on a custom provider:
sso_providers:
- name: corp
label: Corporate SSO
provider:
type: custom
client_id: ...
client_secret: ...
issuer_url: ...
scopes: ["openid", "email", "groups"]
roles_claim: groups
role_mappings:
'db-admins': 'db-admins'
'sre': ['ssh-prod', 'db-admins']
- Mapped roles are added and removed on every login to match the claim. Roles not named in
role_mappingsare left alone. - The roles must already exist. A mapping to a missing role is skipped with a warning.
- Role membership changes at the user's next login, not when the group changes in the provider.
LDAP. Add the LDAP server under Config > LDAP servers and import the users. They then log in with an SSH key from the directory, SSO, or a local password - not by LDAP bind.
Password accounts. Create the users (warpgate create-user <username> --role <role>, the admin UI or the API) and have them set a password. Set up OTP if you want a second factor.
4. Targets§
Create one Warpgate target for each host and protocol found in step 1. A Boundary target whose host set has ten hosts becomes ten targets.
Names are what users type and a target has only one, so pick a scheme first, e.g. <project>-<host> for SSH and <project>-<host>-pg for a database on the same host.
Converting with a script§
boundary-to-warpgate.py (Python 3, no dependencies) reads Boundary through the boundary CLI you are already logged in with and writes GitOps resource files. Boundary only lists what the token may read, so log in as an administrator of the global scope.
- one target group per Boundary project
- one target per host and protocol; the protocol comes from the target's default port (22, 3306, 3389, 5432, 5900, 80, 443), override with
--port-map 2222=sshor--port-map 8443=https - one access role per Boundary role that grants
authorize-session, assigned to the targets its grants and grant scopes reach; a role granted to all authenticated users becomes a default role - targets are named
<project>-<name>and roles keep their Boundary name; when two would share a name, both get their full scope path instead, so names do not depend on listing order
Everything it cannot convert goes to boundary-report.txt, listed per Boundary object: other ports, aliases, session limits, worker filters, credential sources, non-session grants, and the users and groups each role belongs to. Target usernames and passwords are not carried over.
boundary-to-warpgate.py -o migration/
warpgate config validate migration/boundary.yaml
warpgate config plan migration/boundary.yaml
Edit the generated file, then warpgate config apply it or use it as a GitOps source.
Writing the files by hand§
For more than a handful, write them as GitOps resource files and apply them with warpgate config plan and warpgate config apply:
apiVersion: warpgate/v1
kind: Role
metadata:
name: ssh-prod
spec:
description: SSH to production hosts
---
apiVersion: warpgate/v1
kind: Target
metadata:
name: prod-web-1
spec:
roles: [ssh-prod]
options:
ssh:
host: 10.0.1.11
port: 22
username: deploy
---
apiVersion: warpgate/v1
kind: Target
metadata:
name: prod-web-2
spec:
roles: [ssh-prod]
options:
ssh:
host: 10.0.2.12
port: 22
username: deploy
jump_host: prod-web-1
The per-protocol pages under Adding targets cover the options of each type. Boundary's project scopes can be mirrored as target groups for display.
5. Target credentials§
- SSH with Warpgate's key (default). Add Warpgate's public key (
warpgate client-keys, orManage>SSH keys) toauthorized_keyson each target - see SSH targets. - Static credentials. Take passwords from their original source, or rotate them, and enter them on the target.
- Vault generic libraries. Add Vault as a secret backend and reference the secret (
secret://backend/mount/path#field) instead of storing it. The secret must be in a KV version 2 engine. - Vault SSH certificate libraries. Use
certificateauthentication on the SSH target with the same Vault mount and signing role - see SSH certificates.
6. Roles and access§
For each Boundary role that grants session authorization on targets:
- Create (or reuse) a Warpgate access role.
- Assign it to the Warpgate targets created from the Boundary targets in that role's grant scope.
- Give it to the same principals: via the SSO mapping from step 3 for managed groups, or directly to users. A direct assignment can have an expiry.
Boundary roles that grant administrative actions become admin roles. Scope-limited administration has no equivalent.
If you relied on Boundary for approval through an external workflow, see session approvals and ticket requests.
7. Cut over§
- Test each target type from a real client with a pilot group while Boundary stays in service.
-
Give users their new connection strings. They connect to Warpgate with their own client and
user:targetas the username:ssh 'alice:prod-web-1@warpgate.example.com' -p <ssh-port> psql -h warpgate.example.com -p <postgres-port> -U 'alice:prod-db-pg' appdbHTTP targets, in-browser SSH, RDP and VNC are opened from the Warpgate web UI.
-
Replace
boundary connectin scripts and CI jobs. - Restrict target firewalls and
authorized_keysso that targets accept connections from Warpgate only.