Skip to main content
Databases
InfrastructureSourceAPIChangelog

Reference

Settings​

User​

Each person sets these for themselves in Settings.

SettingTypeDefaultWhat it does
Open the databases panel with a terminalbooleanfalseShow the databases panel when a terminal opens on a host that has it.
Databases panel sideselect"right"Where the panel sits next to the terminal.
Databases panel sizenumber480Width, or height at the bottom, in pixels.
Databases panel edge buttonbooleantrueShow a small button on the terminal edge to open the panel.

Host​

Set per host in the host editor, on the plugin's tab. Host defaults can set them for many hosts at once.

SettingTypeDefaultWhat it does
DatabasesbooleanfalseShow the Databases tab for this host in its menu.
Panel beside the terminalbooleantrueOffer a databases panel next to this host's SSH terminal.

Permissions​

Give these to roles in Settings, Roles.

PermissionWho has it at firstWhat it allows
databases.useadmin, userOpen the Databases tab and work with databases on hosts you can access.

Actions​

Run these from Operations Center, Automations, the CLI (termix ops), the phone app or the API. See actions.

ActionRuns onRiskInputs
databases.list-connections
List database logins
A hostRead only
databases.status
Database logins
A hostRead only
databases.check-connection
Check database login
One item on a hostRead only

Capabilities​

What the plugin's code is allowed to do. Termix shows this list before you install it. See capabilities for all of them.

CapabilityRiskWhat it means
ssh:connectHighRun commands on your servers. Any command, on hosts you connect it to, with your access.
credentials:useMediumConnect to your servers. It cannot see your passwords or keys.
network:serveMediumAccept connections. It opens a port on the Termix server.
operations:provideMediumOffer actions. Its actions can be run from Automations, the CLI, the phone app and other places, by people allowed to use them.
hosts:readLowSee your host list. Names and addresses for hosts you can already see.
ui:surfaceLowAdd its own screens. Tabs, panels and settings you can hide later.
db:ownLowStore its own data. Kept in its own tables, separate from other plugins.
secrets:ownLowStore its own secrets. Encrypted by Termix. The plugin never holds the key.

Services​

Services are how plugins call each other. Plugin authors can use these.

ProvidesVersionPermission
databases.logins1.0.0databases.use

API​

The plugin's HTTP routes are in the API reference.

Platforms​

Linux, Windows, macOS