identity outbound-auth static create
Create a static API key provider.
Description
Create a new static API key provider. The name must be 3-50 characters and match
the pattern ^[a-zA-Z0-9_-]+$. Both name and API key are required.
Synopsis
Options
--name (string)
Provider name (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted when
--interactiveis set) - Alias:
-n - Constraints: 3–50 characters; matches
^[a-zA-Z0-9_-]+$.
--apikey (string)
API key value (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted as a secret when
--interactiveis set)
Global options
All grn agentbase commands accept:
-o, --output json|table|id— output format (defaulttable; shadowsgrn's inherited--output)-i, --interactive— prompt for missing inputs instead of requiring flags- The shared
grnglobal options:--profile,--region,--query,--endpoint-url,--debug, …
Examples
Create a static API key provider:
grn agentbase identity outbound-auth static create \
--name my-apikey-provider \
--apikey sk-xxxxxxxxxxxx
Create interactively (the API key is read without echoing):