Skip to content
New issue

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

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

Already on GitHub? # to your account

add keystone backend info to the docs #1737

Merged
merged 1 commit into from
Jul 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/source/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,30 @@ Example ``auth`` section in the |st2| configuration file. ::
logging = /path/to/st2auth.logging.conf
api_url = http://myhost.example.com:9101/

Keystone backend
~~~~~~~~~~~~~~~~

Keystone backend supports authenticating against a Keystone auth server.

**Backend configuration options:**

* ``keystone_url`` - Keystone server url, port included (e.x. "http://keystone.com:5000").
* ``keystone_version`` - Keystone api version to use. Defaults to 2.

Example ``auth`` section in the |st2| configuration file. ::

[auth]
mode = standalone
backend = keystone
backend_kwargs = {"keystone_url": "http://keystone.com:5000", "keystone_version": 2}
enable = True
debug = True
use_ssl = True
cert = /path/to/mycert.crt
key = /path/to/mycert.key
logging = /path/to/st2auth.logging.conf
api_url = http://myhost.example.com:9101/

After the configuration change, restart all st2 components. ::

st2ctl restart
Expand Down