Skip to content
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
7 changes: 5 additions & 2 deletions docs/source/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,11 @@ third party service to integrate with |st2| and this service doesn't allow you t
headers), you can provide it as a query parameter named ``x-auth-token`` and ``st2-api-key``
respectively.

Keep in mind that using HTTP header is preferred since some web servers and third party services
log query parameters which are sent with each request, which could be a security risk.
.. note::

Keep in mind that using HTTP header is preferred since some web servers and third party services
log query parameters which are sent with each request. This could lead to auth token / api key
exposure and potentially pose a security risk.

Here's some examples of how to send authentication token and API key in the headers, and as a query
parameter using ``curl``:
Expand Down