Set OS_AUTH_TOKEN to dummy string, instead of empty space
Setting the OS_AUTH_TOKEN to empty space as stated on the docs and env-vars no longer works, it errors out a message from requests library. Changing to dummy 'fake-token' fixes this. Change-Id: Ia02aa3c56e7231a33a02474d01e9a7a2e6bfc223 Closes-Bug: #1612577
This commit is contained in:
parent
dc732e68f3
commit
8c947c52ef
@ -190,8 +190,8 @@ If you wish to utilize ironic's CLI in no-auth mode, you must set two
|
||||
environment variables:
|
||||
|
||||
- ``IRONIC_URL`` - A URL to the ironic API, such as http://localhost:6385/
|
||||
- ``OS_AUTH_TOKEN`` - Any value, such as an empty space, is required to
|
||||
cause the client library to send requests directly to the API.
|
||||
- ``OS_AUTH_TOKEN`` - Any value except empty space, such as 'fake-token',
|
||||
is required to cause the client library to send requests directly to the API.
|
||||
|
||||
For your ease of use, ``env-vars`` can be sourced to allow the CLI to connect
|
||||
to a local ironic installation operating in noauth mode.
|
||||
|
Loading…
Reference in New Issue
Block a user