# `mix ash_authentication.add_strategy.api_key`
[🔗](https://github.com/team-alembic/ash_authentication/blob/main/lib/mix/tasks/ash_authentication.add_strategy.api_key.ex#L7)

Adds API key authentication to your user resource

## Example

```bash
mix ash_authentication.add_strategy.api_key
```

## Options

* `--user`, `-u` -  The user resource. Defaults to `YourApp.Accounts.User`
* `--api-key`, `-k` - The API key resource name. Defaults to `<domain>.ApiKey`

# `igniter`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
