Proxies
Commands for managing Pre-Configured Proxies.
List Proxies
bt proxies
Lists all Proxies in your tenant with pagination. When run interactively, selecting a Proxy provides options to view details, stream logs, or delete.
Flags
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--management-key | -x | string | BT_MANAGEMENT_KEY env var | Management API key |
--page | -p | integer | 1 | Page number to fetch |
Required Permissions
proxy:read
Example
bt proxies -p 2
Create Proxy
bt proxies create
Creates a new Pre-Configured Proxy. When flags are omitted, the CLI will interactively prompt for required values.
Flags
Basic
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--management-key | -x | string | BT_MANAGEMENT_KEY env var | Management API key |
--name | -n | string | (prompted) | Name of the Proxy |
--destination-url | -u | string | (prompted) | URL to which requests will be proxied |
--application-id | -i | string | — | Optional Application ID. Only supported when at least one transform uses node-bt. |
--configuration | -c | file path | — | Path to .env format configuration file |
--require-auth | -a | boolean | true | Require Basis Theory authentication |
Request Transform
The
node-bt runtime is deprecated. Use a Node.js runtime image for new Reactors and Proxy code transforms. Migrate away from the node-bt runtime before its shutdown date.| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--request-transform-code | -q | file path | — | Path to JavaScript file with request transform logic |
--request-transform-image | string | — | Runtime image. Select a Node.js runtime image for new code transforms. | |
--request-transform-timeout | integer | 10 | Timeout in seconds, 10 to 30 (Node.js runtime images only) | |
--request-transform-warm-concurrency | integer | 0 | Number of warm instances. The default quota is 0. Request a higher quota if needed. (Node.js runtime images only) | |
--request-transform-resources | string | standard | Resource tier: standard, large, xlarge (Node.js runtime images only) | |
--request-transform-package-json | file path | - | Path to a package.json file specifying dependencies (Node.js runtime images only) | |
--request-transform-execution-role | file path | - | Path to a JSON file with the request transform's execution role, an object with permissions or rules. Can't be combined with --request-transform-permissions. On update, requires --request-transform-code and replaces access granted with --request-transform-permissions. (Node.js runtime images only) | |
--request-transform-permissions | string[] | — | Permission grants, repeatable. Sets the deprecated runtime.permissions; use --request-transform-execution-role for new transforms. On update, requires --request-transform-code and replaces a stored execution role. (Node.js runtime images only) |
Response Transform
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--response-transform-code | -s | file path |