Gateway & resources
External data connectors, resources, catalog, and gateway query commands
axhub connectors
Manage external database connectors.
axhub connectors create
Register a connector.
| Flag | Type | Description | Default |
|---|---|---|---|
--config-file | string | — | — |
--config-json | string | — | — |
--credentials-file | string | — | — |
--credentials-stdin | boolean | Read connector credentials JSON object from stdin instead of argv | — |
--description | string | — | — |
--dry-run | boolean | — | true |
--engine | string | — | — |
--execute | boolean | — | — |
--name | string | — | — |
--tenant | string | — | — |
axhub connectors credentials-set
Set or refresh connector credentials.
| Flag | Type | Description | Default |
|---|---|---|---|
--connector_id | string | — | — |
--credentials-file | string | — | — |
--credentials-stdin | boolean | Read connector credentials JSON object from stdin instead of argv | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--tenant | string | — | — |
axhub connectors delete
Delete a connector.
| Flag | Type | Description | Default |
|---|---|---|---|
--connector_id | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--tenant | string | — | — |
axhub connectors discover
Discover queryable resources in a connector.
| Flag | Type | Description | Default |
|---|---|---|---|
--connector_id | string | — | — |
--tenant | string | — | — |
axhub connectors list
List connectors.
| Flag | Type | Description | Default |
|---|---|---|---|
--enabled-only | boolean | — | — |
--tenant | string | — | — |
axhub connectors update
Update a connector.
| Flag | Type | Description | Default |
|---|---|---|---|
--config-file | string | — | — |
--config-json | string | — | — |
--connector_id | string | — | — |
--description | string | — | — |
--disabled | boolean | — | — |
--dry-run | boolean | — | true |
--enabled | boolean | — | — |
--execute | boolean | — | — |
--tenant | string | — | — |
axhub resources
Organize gateway resources (external tables/views).
axhub resources bulk-register
Bulk-register resources.
| Flag | Type | Description | Default |
|---|---|---|---|
--connector-id | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--include-columns | boolean | — | — |
--items-file | string | — | — |
--items-json | string | — | — |
--tenant | string | — | — |
axhub resources delete
Delete a resource.
| Flag | Type | Description | Default |
|---|---|---|---|
--cascade | boolean | Also delete the entire descendant subtree (backend DB CASCADE: descendant resource rows + resource_tags). Without it, deleting a resource that still has children returns 409. | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--resource_id | string | — | — |
--tenant | string | — | — |
axhub resources list
List resources.
| Flag | Type | Description | Default |
|---|---|---|---|
--parent-id | string | — | — |
--tenant | string | — | — |
axhub resources move
Move a resource between namespaces.
| Flag | Type | Description | Default |
|---|---|---|---|
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--parent-id | string | — | — |
--resource_id | string | — | — |
--root | boolean | — | — |
--tenant | string | — | — |
axhub resources namespace
Manage resource namespaces.
axhub resources namespace create
Create a namespace.
| Flag | Type | Description | Default |
|---|---|---|---|
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--name | string | — | — |
--parent-id | string | — | — |
--tenant | string | — | — |
axhub resources rename
Rename a resource.
| Flag | Type | Description | Default |
|---|---|---|---|
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--name | string | — | — |
--resource_id | string | — | — |
--tenant | string | — | — |
axhub resources tag-attach
Attach a tag to a resource.
| Flag | Type | Description | Default |
|---|---|---|---|
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--resource_id | string | — | — |
--tag-id | string | — | — |
--tenant | string | — | — |
axhub resources tag-detach
Detach a tag from a resource.
| Flag | Type | Description | Default |
|---|---|---|---|
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--resource_id | string | — | — |
--tag-id | string | — | — |
--tenant | string | — | — |
axhub catalog
Browse the queryable data catalog.
axhub catalog connectors
List catalog connectors.
| Flag | Type | Description | Default |
|---|---|---|---|
--tenant | string | — | — |
axhub catalog get
Get a catalog resource.
| Flag | Type | Description | Default |
|---|---|---|---|
--connector | string | — | — |
--path | string | — | — |
--tenant | string | — | — |
axhub catalog invoke
Run an allowed catalog read.
| Flag | Type | Description | Default |
|---|---|---|---|
--action | string | — | read |
--connector | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--params-file | string | — | — |
--params-json | string | — | — |
--path | string | — | — |
--row-limit | string | — | — |
--sql | string | — | — |
--sql-file | string | — | — |
--tenant | string | — | — |
axhub catalog kinds
List resource kinds.
(no options)
axhub catalog resources
List catalog resources.
| Flag | Type | Description | Default |
|---|---|---|---|
--all | boolean | Follow next_cursor up to 10 pages / 2000 rows | — |
--connector | string | — | — |
--connector-id | string | — | — |
--cursor | string | — | — |
--kind | string | — | — |
--limit | integer | — | 50 |
--search | string | — | — |
--tenant | string | — | — |
axhub catalog search
Search the catalog.
| Flag | Type | Description | Default |
|---|---|---|---|
--all | boolean | Follow next_cursor up to 10 pages / 2000 rows | — |
--connector | string | — | — |
--connector-id | string | — | — |
--cursor | string | — | — |
--kind | string | — | — |
--limit | integer | — | 50 |
--search | string | — | — |
--tenant | string | — | — |
axhub gateway
Safely query connected external data.
axhub gateway query
Run a read query through the gateway.
| Flag | Type | Description | Default |
|---|---|---|---|
--allow-non-select | boolean | Allow non-SELECT statements. Disabled by default for defense-in-depth | — |
--connector-id | string | — | — |
--dry-run | boolean | — | true |
--execute | boolean | — | — |
--params-file | string | — | — |
--params-json | string | — | — |
--path | string | — | — |
--row-limit | string | — | — |
--sql | string | — | — |
--sql-file | string | — | — |
--tenant | string | — | — |