Create Database Connection
unfour.db.create_connectionCreate a saved database connection while keeping passwords secure. Optional passwords are stored in the OS credential store, with only a reference persisted, so secrets are never exposed.
Instructions
Creates a saved database connection through the Unfour command bus. Optional password input is stored in the OS credential store and only a credential reference is persisted; the tool never returns the password or credential reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| name | Yes | ||
| port | No | ||
| driver | Yes | ||
| sslMode | No | ||
| database | No | ||
| password | No | ||
| readOnly | No | ||
| username | No | ||
| sqlitePath | No | ||
| workspaceId | No | ||
| credentialRef | No | ||
| credentialLabel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||