Skip to content

Commit 1ad9b6d

Browse files
Clarify HTTP token authentication setup (DataDog#39651)
1 parent 539f838 commit 1ad9b6d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • hugo/content/en/actions/connections

‎hugo/content/en/actions/connections/http.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ The Token Auth connection uses a bearer token to authenticate the HTTP request.
6464
1. Enter a {{< ui >}}Connection Name{{< /ui >}}.
6565
1. Enter the {{< ui >}}Base URL{{< /ui >}} for authentication.
6666
1. From the {{< ui >}}Authentication Type{{< /ui >}} dropdown, select {{< ui >}}Token Auth{{< /ui >}}.
67-
1. Enter a {{< ui >}}Token Name{{< /ui >}} and {{< ui >}}Token Value{{< /ui >}}. You can enter multiple tokens. To reference your token in a header, parameter, or the request body, use the syntax `{{ secretTokenName }}`.
68-
1. Optionally, add additional {{< ui >}}Request Headers{{< /ui >}}, {{< ui >}}URL parameters{{< /ui >}} and a {{< ui >}}Body{{< /ui >}} to your request.
67+
1. Enter a {{< ui >}}Token Name{{< /ui >}} and {{< ui >}}Token Value{{< /ui >}}. You can enter multiple tokens.
68+
1. Configure how HTTP requests that use the connection include the token. The connection does not add the token to requests automatically. In {{< ui >}}Request Headers{{< /ui >}}, {{< ui >}}URL parameters{{< /ui >}}, or the {{< ui >}}Body{{< /ui >}}, reference the token with the syntax `{{ secretTokenName }}`, replacing `secretTokenName` with the {{< ui >}}Token Name{{< /ui >}} from the previous step. For example, if the token name is `apiToken`, add an `Authorization` header with the value `Bearer {{ apiToken }}`.
69+
1. Optionally, add other {{< ui >}}Request Headers{{< /ui >}}, {{< ui >}}URL parameters{{< /ui >}}, or a {{< ui >}}Body{{< /ui >}} to your request.
6970
1. Click {{< ui >}}Create{{< /ui >}}.
7071

7172
### Create an HTTP basic authentication connection

0 commit comments

Comments
 (0)