Configure Solr authentication and permissions
Version: 10.5
Starting with Sitecore XP 10.5.0, all Sitecore-to-Solr connections must use HTTP Basic authentication.
Solr connection string format
Use the following format for the Solr connection string:
https://
Solr admin account requirements
You can use your own Solr instance, but it must have authentication enabled.
For details, see Configuring Authentication and Authorization.
During Sitecore setup, provide a Solr admin account. Sitecore uses this account to create and configure required Solr resources.
Grant the Solr admin account at least these permissions:
- core-admin-read
- core-admin-edit
- collection-admin-read (SolrCloud only)
- collection-admin-edit (SolrCloud only)
- security-read
- security-edit
- health
Solr connection account behavior
During setup, Sitecore creates a dedicated Solr connection account with the minimum required permissions for runtime operations.
Sitecore roles use this connection account for ongoing requests to Solr.
If you have suggestions for improving this article, let us know!