CLI

Overview

The oblien api-access command controls the Runtime API (runtime gateway) for workspaces. When enabled, it provides a JWT token for direct programmatic access to the workspace runtime APIs.

Commands

Enable Runtime API

oblien api-access enable <ws-id>

Returns the gateway JWT on success.

Disable Runtime API

oblien api-access disable <ws-id>

Check Status

oblien api-access status <ws-id>

Get Gateway JWT

oblien api-access token <ws-id>

Get Raw Connection Token

oblien api-access raw-token <ws-id>

Returns the raw token and connection IP for direct access.

Rotate Token

oblien api-access rotate <ws-id>

Examples

oblien api-access enable ws_abc123
oblien api-access token ws_abc123
oblien api-access raw-token ws_abc123 --json
oblien api-access rotate ws_abc123
oblien api-access disable ws_abc123