agctl standalone keys create
Reference for the agctl standalone keys create command.
Create an API key and print it
Synopsis
Create an API key and print it. The key is stored as a SHA-256 hash and cannot be retrieved again.
agctl standalone keys create NAME [flags]Examples
agctl standalone keys create alice
agctl standalone keys create ci --model 'openai/*' --metadata '{"team": "platform"}'Options
-h, --help help for create
--metadata string Metadata to attach to the key, as a JSON object, for example '{"team": "platform"}'
--model strings Model pattern the key may use (repeatable; default all)Options inherited from parent commands
--address string Standalone agentgateway admin address
--gateway string Gateway name from the config file
-k, --kubeconfig string kubeconfigSEE ALSO
- agctl standalone keys - List and create LLM API keys
Was this page helpful?