Skip to content

Commit 93d3168

Browse files
committed
Merge remote-tracking branch 'origin/main' into archand/kernel-1116/browser-events
2 parents c30484a + 68c4770 commit 93d3168

39 files changed

Lines changed: 1219 additions & 342 deletions

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Commands with JSON output support:
125125
- **Profiles**: `create`, `list`, `get`
126126
- **Extensions**: `upload`, `list`
127127
- **Proxies**: `create`, `list`, `get`
128+
- **API Keys**: `create`, `list`, `get`, `update`
128129
- **Apps**: `list`, `history`
129130
- **Deploy**: `deploy` (JSONL streaming), `history`
130131
- **Invoke**: `invoke` (JSONL streaming), `history`
@@ -538,6 +539,29 @@ Automated authentication for web services. The `run` command orchestrates the fu
538539
- `kernel credentials totp-code <id-or-name>` - Get current TOTP code
539540
- `--output json`, `-o json` - Output raw JSON object
540541

542+
### API Keys
543+
544+
- `kernel api-keys create` - Create a new API key
545+
- `--name <name>` - API key name (required)
546+
- `--days-to-expire <days>` - Number of days until expiry (1-3650); omit for never
547+
- `--project-id <project_id>` - Create a project-scoped API key for this project ID; omit for org-wide. This is different from global `--project`, which only scopes the CLI request.
548+
- `--output json`, `-o json` - Output raw JSON object, including the one-time plaintext key
549+
550+
- `kernel api-keys list` - List API keys
551+
- `--limit <n>` - Maximum number of results to return
552+
- `--offset <n>` - Number of results to skip
553+
- `--output json`, `-o json` - Output raw JSON array
554+
555+
- `kernel api-keys get <id>` - Get an API key
556+
- `--output json`, `-o json` - Output raw JSON object
557+
558+
- `kernel api-keys update <id>` - Update an API key
559+
- `--name <name>` - New API key name
560+
- `--output json`, `-o json` - Output raw JSON object
561+
562+
- `kernel api-keys delete <id>` - Delete an API key
563+
- `-y, --yes` - Skip confirmation prompt
564+
541565
## Examples
542566

543567
### Create a new app

0 commit comments

Comments
 (0)