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

# Wistia

> Store and use your Wistia API key with authsome. Local encrypted vault, proxy injection, no key in the agent's environment.

Wistia uses a long-lived API key. Authsome stores the key encrypted in the local vault, injects it at request time through the proxy, and keeps it out of shell history, process listings, and environment dumps.

## At a glance

|               |                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------ |
| Provider name | `wistia`                                                                                         |
| Display name  | Wistia                                                                                           |
| Auth type     | API key                                                                                          |
| Header        | `Authorization: Bearer <key>`                                                                    |
| Proxy host    | `api.wistia.com`                                                                                 |
| Env var       | `WISTIA_API_KEY`                                                                                 |
| Provider docs | [https://wistia.com/support/developers/data-api](https://wistia.com/support/developers/data-api) |

## Get a key

See the Wistia API documentation at [https://wistia.com/support/developers/data-api](https://wistia.com/support/developers/data-api) for how to obtain a key.

Wistia's API keys live at `<your-subdomain>.wistia.com/account/api`.

## Log in

```bash theme={null}
authsome login wistia
```

A local browser form opens at `http://127.0.0.1:7998`. Paste the key into the masked input and submit.

On a headless machine without a graphical session, authsome falls back to masked terminal input via `getpass`. The browser bridge is skipped automatically when no display is available.

Verify:

```bash theme={null}
authsome get wistia --field status
# → connected
```

## Use the key

Run the agent under the proxy (recommended).

<CodeGroup>
  ```bash Proxy (recommended) theme={null}
  authsome run -- python my_agent.py
  ```

  ```bash Environment theme={null}
  eval "$(authsome export wistia --format env)"
  echo $WISTIA_API_KEY
  ```
</CodeGroup>

Under the proxy, authsome sets `WISTIA_API_KEY=authsome-proxy-managed` in the child's environment and injects the real key into outbound requests to `api.wistia.com`. The child process never sees the actual value.

## Multiple keys

Pass `--connection <name>` on `login` and on every read command to keep two or more accounts on the same provider side by side. See [Multiple connections per provider](/guides/multiple-connections) for the full pattern.

```bash theme={null}
authsome login wistia --connection personal
authsome login wistia --connection team
```

## Rotate or remove the key

```bash theme={null}
authsome login wistia --force          # rotate
authsome logout wistia                  # remove local credential
authsome remove wistia                  # remove all local state for the provider
```

API-key providers have no revocation endpoint, so `revoke` and `remove` are equivalent for Wistia.

## Override the bundled definition

```bash theme={null}
authsome inspect wistia > ~/.authsome/providers/wistia.json
# edit fields
authsome list   # source now shows "custom" for wistia
```

## What's next

<Columns cols={2}>
  <Card title="Run agents with the proxy" icon="shield-halved" href="/guides/run-agents-with-proxy">
    Keep the key out of the agent's environment entirely.
  </Card>

  <Card title="Multiple connections per provider" icon="users" href="/guides/multiple-connections">
    Keep two or more keys on the same provider side by side.
  </Card>

  <Card title="API-key providers" icon="key" href="/integrations/api-key/index">
    All bundled API-key providers.
  </Card>
</Columns>
