Building a plugin with configuration
summary
Covers three concrete ways to store an API token: plugin default config (config/index.js with validate), the Strapi pluginStore via pluginStore.get/set for multi-server safe runtime updates, and a content type with a required string token plus admin-only GET/POST routes using entityService. Includes helper functions (getPluginId, getPluginConfig, buildConfig), admin UI built with the Strapi design system, hidden content type, permissions registered in bootstrap, and tradeoffs around runtime updates, UI convenience, and backup/migration complexity.
AI-written summary · about
