Documentation
¶
Index ¶
Constants ¶
const GlobalScope = ""
GlobalScope is used for YAML-level refs (apiKeyRef, botTokenRef, telemetry keys). Integration tools pass a non-empty scope (mcp.<server>, openapi.<api>, shell-bash.<cmd>, etc.).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvPairResolver ¶ added in v0.3.27
type EnvPairResolver interface {
EnvPairs(ctx context.Context, scope string, opts EnvPairsOptions) ([]string, error)
}
EnvPairResolver is implemented by credentials/integrations. It resolves scoped secrets to KEY=value strings (opts.Keys or stored keys for scope).
type EnvPairsOptions ¶ added in v0.3.27
type EnvPairsOptions struct {
Keys []string
}
EnvPairsOptions selects env var names for scoped subprocess injection. When Keys is non-empty it overrides stored scoped key enumeration.
type Store ¶
Store resolves secret refs. When scope is GlobalScope, plugins use the global lookup chain (context override, process env, config env, encrypted file, dotenv). When scope is non-empty, integrations resolve scoped values only (context, L1 scopedEnv, /env add, or encrypted/dotenv SCOPE::KEY).