Skip to content

Added Mongo X509 auth support #4373

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

Closed
wants to merge 3 commits into from
Closed

Conversation

aduca85
Copy link
Contributor

@aduca85 aduca85 commented Oct 2, 2018

Changed some of the bootstrap scripts to include the authentication_mechanism parameter used by pymongo to authenticate. By using authentication_mechanism = 'MONGODB-X509' in st2.conf you can now use X509 certificates to login to Mongo.

@Kami Kami added this to the 3.0.0 milestone Oct 2, 2018
@Kami
Copy link
Member

Kami commented Oct 3, 2018

Thank you for your contribution.

Change looks good to me, but it would also be good to add some test cases for it (I believe we already have some tests for MongoDB connection constructor).

@Kami Kami self-assigned this Oct 16, 2018
Kami added a commit that referenced this pull request Oct 16, 2018
@Kami
Copy link
Member

Kami commented Oct 16, 2018

Thanks again for the contribution.

I fixed lint, re-generated sample config and added tests in #4391. That PR should get merged some time this week.

@Kami Kami closed this Oct 16, 2018
Kami added a commit that referenced this pull request Oct 18, 2018
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

Successfully merging this pull request may close these issues.

2 participants