> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# secret-in-url-query

> A password, token or API key is passed in a URL query string.

## What it flags

A password, token or API key is read from, or sent in, a URL query string, where it ends up in access logs, browser history and Referer headers.

## How to review or fix

Send it in a header or the body. Reset, verify and invite tokens, and map or weather APIs that require a query key, are contextual.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "secret-in-url-query": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.