Skip to content

Commit

Permalink
Update docs/sources/reference/components/otelcol/otelcol.auth.bearer.md
Browse files Browse the repository at this point in the history
Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
wildum and clayton-cornell authored Dec 11, 2024
1 parent e8c4c01 commit 7601fc2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ Name | Type | Description | Default
`scheme` | `string` | Authentication scheme name. | "Bearer" | no

When sending the token, the value of `scheme` is prepended to the `token` value.
The string is then sent out as either a header (in case of HTTP) or as metadata (in case of gRPC). If we are using file for storing the token we can refer the value of `token` using `local.file`
The string is then sent out as either a header (in case of HTTP) or as metadata (in case of gRPC).

If you use a file to store the token, you can use `[local.file`][local.file] to retrieve the `token` value from the file.

[local.file]: ../../local/local.file/

## Blocks

Expand Down

0 comments on commit 7601fc2

Please sign in to comment.