OptionalaccessStatic bearer access token or a provider function that returns one.
Mutually exclusive with apiKey.
OptionalaccountTarget organization account ID. Sent as X-Account-Id header.
Overrides the profile's sso_account_id when using SSO auth.
OptionalapiAPI key used for authentication. Defaults to process.env.SECLAI_API_KEY when available.
OptionalapiHeader name to use for the API key. Defaults to x-api-key.
OptionalautoWhether to auto-refresh expired SSO tokens. Defaults to true.
Set to false in environments that should not write to disk.
OptionalbaseAPI base URL. Defaults to process.env.SECLAI_API_URL when available, else SECLAI_API_URL.
OptionalconfigOverride the config directory path (default: SECLAI_CONFIG_DIR env var or ~/.seclai/).
OptionaldefaultExtra headers to include on every request.
OptionalfetchOptional fetch implementation for environments without a global fetch.
OptionalprofileSSO profile name to load from ~/.seclai/config.
Defaults to process.env.SECLAI_PROFILE, then "default".
Configuration for the Seclai client.