Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authetification with a keyfile? #26

Closed
leipert opened this issue Aug 23, 2013 · 1 comment
Closed

Authetification with a keyfile? #26

leipert opened this issue Aug 23, 2013 · 1 comment

Comments

@leipert
Copy link

leipert commented Aug 23, 2013

Ist there a way to use Laravel-MongoDB together with a keyfile?

@jenssegers
Copy link
Contributor

I'm sure if PHP's MongoClient supports this: http://www.php.net/manual/en/mongoclient.construct.php

You can try passing it as an 'option' from your connection configuration:

'mongodb' => array(
    'driver'   => 'mongodb',
    ...
    'options'  => array(...)
),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants