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

# vidjutsu auth

> Authenticate with your API key

## Usage

```bash theme={null}
vidjutsu auth --key <api_key>
```

## Authenticate with an API key

Pass your API key to authenticate all future CLI requests:

```bash theme={null}
vidjutsu auth --key vj_live_xxxx
```

```
Authenticated. API key saved.
```

Your key is stored at `~/.vidjutsu/config.json` and sent as a Bearer token in the `Authorization` header on every request.

## Check current auth

Run without arguments to see your current authentication status:

```bash theme={null}
vidjutsu auth
```

```
Current auth: key:vj_live_****
```

## Switching credentials

Run `vidjutsu auth` again with a new key to replace the existing one.
