You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -538,6 +539,29 @@ Automated authentication for web services. The `run` command orchestrates the fu
538
539
-`kernel credentials totp-code <id-or-name>` - Get current TOTP code
539
540
-`--output json`, `-o json` - Output raw JSON object
540
541
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
0 commit comments