ardent branch create
Create a branch from the current connector. It becomes your current branch.Example output
Example output
Options
--print-url and --format can’t be combined. --url-type can’t be combined with --format json — the JSON already includes every URL.
Use in scripts
--print-url prints nothing, stop the script. A missing URL means setup failed — don’t fall back to another database.
If creation takes too long, the CLI stops waiting after 65 minutes — but the work usually finishes server-side.
If creation times out
If creation times out
Re-run the exact same command. For the same connector, branch name, and service type, a re-run picks up the original request instead of starting a second one. Changing the name or service type starts a new request.You can also run
ardent branch list — if the branch appears there, it finished. Use it.The error includes an operation ID you can give Ardent support:Connecting to a branch
Use the URL exactly as Ardent returns it, including everything after the?:
- SSL mode:
require. Leave root certificate / CA fields blank — your source database’s certificate won’t work here and causes TLS errors. - Channel binding:
disable, if your client has the setting.
Why branch connections need these settings
Why branch connections need these settings
Branch connections go through Ardent’s routing layer, where TLS ends. Your connection is encrypted, but it isn’t signed by your source database’s certificate authority — so a client configured to verify against your source’s CA bundle will reject it. Clearing the certificate fields keeps the connection encrypted without that check.The same routing layer is why clients that force channel binding can reject an otherwise valid connection.
channel_binding=disable in the URL handles it; set the IDE option too if there is one.ardent branch list
List branches for the current connector:*. ● means active; ○ means not. Each branch shows its type, readiness, age, and idle time.
Example output
Example output
Branches:
* ● my-feature
postgres · ready · created 2026-06-01 · idle 2m (active)
○ staging
postgres · ready · created 2026-05-20 · idle 3d (suspended)
⚠ Offline - showing cached data from ....
ardent branch info
Show details and connection URLs for a branch. With no name, it shows the current branch.Example output
Example output
ardent branch switch
Change which branch is current for future CLI commands:ardent branch delete
✓ Branch deleted.
If the CLI stops waiting (after 10 minutes), the delete usually still finishes server-side.
If the delete times out
If the delete times out
Re-running
ardent branch delete <name> is safe — it checks on the existing delete instead of starting a second one. Run ardent branch list online to see the final state; the local cache only drops the branch once the server confirms it’s gone.The error includes an operation ID you can give Ardent support:if: always() (or your CI’s equivalent) so every run cleans up.