Skip to content

Provider and secret handling

Never commit provider keys, bearer tokens, endpoint credentials, .env files, or site settings.php files to the Toolkit project or the generated Drupal.org release tree.

Ollama and Qdrant reference topology

The alpha reference topology uses site-specific Drupal AI/AI Search provider configuration. Configure network endpoints in the target site's environment or provider settings. Treat endpoints as deployment configuration, not module defaults; http://ollama:11434 and http://qdrant:6333 are examples of deployment-local values and are never public-package defaults.

Hosted generation providers

Use Drupal's Key module and the provider module's documented key integration. For a file-backed local development key, store the file outside the web root, restrict its filesystem permissions, and reference it through Key. For managed deployments, prefer the platform's secret store or environment-backed Key provider. Rotate a key immediately if it is exposed in a repository, log, or screenshot.

Generation may be disabled. Evidence-first retrieval remains useful and avoids hosted-generation cost or credential requirements.