CLI
Overview
The oblien public-access command manages which workspace ports are publicly accessible, with protocol and label configuration.
Commands
List Exposed Ports
oblien public-access list <ws-id>Displays a table with port, protocol, URL, and label.
Expose a Port
oblien public-access expose <ws-id> --port <number> [--protocol <proto>] [--label <label>]| Flag | Description |
|---|---|
--port <number> | Port number (required) |
--protocol <proto> | Protocol: http, https, or tcp |
--label <label> | Human-readable label |
Revoke a Port
oblien public-access revoke <ws-id> <port>Examples
oblien public-access list ws_abc123
oblien public-access expose ws_abc123 --port 3000 --protocol https
oblien public-access expose ws_abc123 --port 8080 --label "API Server"
oblien public-access revoke ws_abc123 3000