CLIGPU API Keys
hudl gpu apikey create <name>
Mint a new GPU API key. The secret is only shown once.
Create a new API key for programmatic access to the GPU service. The <name> argument is a human-readable label for identifying the key. The secret value is displayed only once in the command output -- copy and store it securely before closing your terminal.
Usage
hudl gpu apikey create <name> [flags]Flags
| Flag | Description |
|---|---|
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Create an API key for a CI pipeline:
hudl gpu apikey create github-actions-prodCreate a key and capture the secret as JSON:
hudl gpu apikey create deploy-bot -o jsonAPI reference
This command calls POST /gpu/api-keys under the hood. See the full request and response schema in the API reference.