Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

st2-auth-backend-mongodb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

st2-auth-backend-mongodb

StackStorm authentication backend which reads credentials from a MongoDB collection.

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

MongoDB authentication plugin for StackStorm Community edition

Build Status IRC

The MongoDB backend reads and authenticates user against data from a MongoDB collection named users. The users collection and the user entries will have to be generated manually. Entries need to have the following attributes:

fielddescription
usernameUser name
saltPassword salt
passwordSHA256 hash for the salt+password - SHA256(salt+password)

Configuration Options

optionrequireddefaultdescription
db_hostnolocalhostHostname for the MongoDB server
db_portno27017Port for the MongoDB server
db_namenost2authDatabase name in MongoDB
db_usernamenoNoneUsername for MongoDB login
db_passwordnoNonePassword for MongoDB login

Configuration Example

Please refer to the authentication section in the StackStorm documentation for basic setup concept. The following is an example of the auth section in the StackStorm configuration file for the flat-file backend.

[auth]
mode = standalone
backend = mongodb
backend_kwargs = {"db_username": "admin", "db_password": "pass123"}
enable = True
use_ssl = True
cert = /path/to/ssl/cert/file
key = /path/to/ssl/key/file
logging = /path/to/st2auth.logging.conf
api_url = https://myhost.example.com:9101
debug = False

Copyright 2015 StackStorm, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: http://www.apache.org/licenses/LICENSE-2.0

By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc