You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find it in the documentation, but what would be the prefered way to configure basic auth for the elastic search endpoint when using the Symfony configuration?
Currently I'm using the provided example mainly:
elastically:
connections:
# You can create multiple clientsdefault:
# Any Elastica option works hereclient:
hosts:
- 'es.example.com'# Path to the mapping directory (in YAML)mapping_directory: '%kernel.project_dir%/config/elasticsearch'# Size of the bulk sent to Elasticsearch (default to 100)bulk_size: 100# If you want to add a prefix for your index in elasticsearch (you can still call it by its base name everywhere!)prefix: '%kernel.environment%'# Use HttpClient componenttransport_config:
http_client: 'Psr\Http\Client\ClientInterface'
But I'm unsure as to where to configure the username and password
The text was updated successfully, but these errors were encountered:
elastically:
connections:
# You can create multiple clientsdefault:
# Any Elastica option works hereclient:
hosts:
- 'es.example.com'username: xoxopassword: secret
Hi,
I couldn't find it in the documentation, but what would be the prefered way to configure basic auth for the elastic search endpoint when using the Symfony configuration?
Currently I'm using the provided example mainly:
But I'm unsure as to where to configure the username and password
The text was updated successfully, but these errors were encountered: