fastly ai-runtime-control key create

Create a virtual key.

Syntax

$ fastly ai-runtime-control key create --name=NAME --model=MODEL --provider=PROVIDER --user-id=USER-ID

Options

KeyRequired?DefaultDescription
--nameYesHuman-readable name for the virtual key
--modelYesAI model identifier (e.g. "claude-sonnet-4-20250514")
--providerYesAI model provider name (e.g. "Anthropic")
--user-idYesID of the user creating the key
--expires-atNoExpiration timestamp (RFC 3339 format)
--jsonNoRender output as JSON

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--accept-defaultsNoAccept default options for all interactive prompts apart from Yes/No confirmations
--auto-yesNoAnswer yes automatically to all Yes/No confirmations. This may suppress security warnings
--debug-modeNoPrint API request and response details (NOTE: can disrupt the normal CLI flow output formatting)
--non-interactiveNoDo not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes
--quietNoSilence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive)
--tokenNoFastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var
--verboseNoVerbose logging