Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 446 Bytes

http-auth-for-elastica.md

File metadata and controls

17 lines (14 loc) · 446 Bytes

Setting HTTP Auth on the Elastica Client

It may be necessary to set username/password for HTTP authentication on the Elastica client.

They can be set using the username and password configuration keys:

# app/config/config.yml
fos_elastica:
    clients:
        default:
            host: example.com
            port: 80
            username: 'username'
            password: 'password'