Trivial: fix a minor issue in standalone docs and improve formatting
Follow-up to commit 74e9e1d82a09b5255d2dd326387ac624ac1ba447 Change-Id: I60f7ee85ee7ead430dfe216bfea5392355098bd2
This commit is contained in:
parent
ebae6a40f1
commit
52b567e7d5
@ -57,24 +57,30 @@ You should make the following changes to ``/etc/ironic/ironic.conf``:
|
||||
|
||||
JSON RPC also has its own authentication strategy. If it is not specified then
|
||||
the stategy defaults to ``[DEFAULT]`` ``auth_strategy``. The following will
|
||||
set JSON RPC to ``noauth``::
|
||||
set JSON RPC to ``noauth``:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[json_rpc]
|
||||
auth_strategy=noauth
|
||||
auth_strategy = noauth
|
||||
|
||||
For ``http_basic`` the conductor server needs a credentials file to validate
|
||||
requests::
|
||||
requests:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[json_rpc]
|
||||
auth_strategy=http_basic
|
||||
http_basic_auth_user_file=/etc/ironic/htpasswd-json-rpc
|
||||
auth_strategy = http_basic
|
||||
http_basic_auth_user_file = /etc/ironic/htpasswd-json-rpc
|
||||
|
||||
The API server also needs client-side credentials to be specified::
|
||||
The API server also needs client-side credentials to be specified:
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[json_rpc]
|
||||
auth_strategy=http_basic
|
||||
username=myName
|
||||
password=myPassword
|
||||
auth_type = http_basic
|
||||
username = myName
|
||||
password = myPassword
|
||||
|
||||
Preparing images
|
||||
----------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user