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
ravishankar15 and clayton-cornell authored Dec 4, 2024
1 parent 29de6bf commit e401bf9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ Name | Type | Description | Default
`token` | `secret` | Bearer token to use for authenticating requests. | | no
`scheme` | `string` | Authentication scheme name. | "Bearer" | no

The auth is taken from `token` or `filename` and one of these two value is required. The `filename` is watched for any new changes.
The authentication is taken from `token` or `filename` and one of these two values is required.
The `filename` is watched for any new changes.

When sending the auth, the value of `scheme` is prepended to the auth value.
When sending the authentication, the value of `scheme` is prepended to the authentication value.
The string is then sent out as either a header (in case of HTTP) or as metadata (in case of gRPC).

## Blocks
Expand Down

0 comments on commit e401bf9

Please sign in to comment.