# Setting: `api_clients_allow_public_key_auth`

- **Constant:** `ConfigInterface::API_CLIENTS_ALLOW_PUBLIC_KEY_AUTH`
- **Category:** `app`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `true`

## Description

Allow API clients to authenticate with their public key as a Bearer token (set to false to require the private key)

## Allowed options

- `true`
- `false`

## Change via CLI

```bash
featherpanel saas getsetting api_clients_allow_public_key_auth
featherpanel saas setsetting api_clients_allow_public_key_auth "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "api_clients_allow_public_key_auth": "<value>" }
```
