Skip to content

Commit

Permalink
Clarify rule auth priorities
Browse files Browse the repository at this point in the history
  • Loading branch information
jertel authored Jun 2, 2021
1 parent 0dc9f65 commit d6862f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/ruletypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Rule Configuration Cheat Sheet
+--------------------------------------------------------------+ |
| ``es_bearer`` (string, no default) | |
+--------------------------------------------------------------+ |
| ``es_api_token`` (string, no default) | |
+--------------------------------------------------------------+ |
| ``es_url_prefix`` (string, no default) | |
+--------------------------------------------------------------+ |
| ``statsd_instance_tag`` (string, no default) | |
Expand Down Expand Up @@ -299,12 +301,12 @@ es_password
es_bearer
^^^^^^^^^^^

``es_bearer``: bearer-token authorization for connecting to ``es_host``. (Optional, string, no default) The environment variable ``ES_BEARER`` will override this field.
``es_bearer``: bearer-token authorization for connecting to ``es_host``. (Optional, string, no default) The environment variable ``ES_BEARER`` will override this field. This authentication option will override the password authentication option.

es_api_key
^^^^^^^^^^^

``es_api_key``: api-key-token authorization for connecting to ``es_host``. (Optional, base64 string, no default) The environment variable ``ES_API_KEY`` will override this field.
``es_api_key``: api-key-token authorization for connecting to ``es_host``. (Optional, base64 string, no default) The environment variable ``ES_API_KEY`` will override this field. This authentication option will override both the bearer and the password authentication options.

es_url_prefix
^^^^^^^^^^^^^
Expand Down

0 comments on commit d6862f1

Please sign in to comment.