Skip to content

Commit

Permalink
Merge pull request #1737 from Itxaka/keystone_backend_docs
Browse files Browse the repository at this point in the history
add keystone backend info to the docs
  • Loading branch information
Kami committed Jul 21, 2015
2 parents 8824161 + fa7479d commit c8564f2
Showing 1 changed file with 24 additions and 0 deletions.
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

0 comments on commit c8564f2

Please # to comment.