Files
openclaw/src/plugin-sdk/provider-auth-api-key.ts
2026-03-27 23:26:26 +00:00

22 lines
814 B
TypeScript

// Public API-key onboarding helpers for provider plugins.
export type { OpenClawConfig } from "../config/config.js";
export type { SecretInput } from "../config/types.secrets.js";
export { upsertAuthProfile } from "../agents/auth-profiles/profiles.js";
export {
formatApiKeyPreview,
normalizeApiKeyInput,
validateApiKeyInput,
ensureApiKeyFromOptionEnvOrPrompt,
normalizeSecretInputModeInput,
promptSecretRefForSetup,
resolveSecretInputModeForEnvSelection,
} from "../plugins/provider-auth-input.js";
export { applyAuthProfileConfig, buildApiKeyCredential } from "../plugins/provider-auth-helpers.js";
export { createProviderApiKeyAuthMethod } from "../plugins/provider-api-key-auth.js";
export {
normalizeOptionalSecretInput,
normalizeSecretInput,
} from "../utils/normalize-secret-input.js";