# CreateApiKeyRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | Name for the API key. This helps identify the key\&#39;s purpose | [default to undefined]
**public_key** | **string** | RSA public key in PEM format. This will be used to verify signatures on API requests | [default to undefined]
**scopes** | **Array&lt;string&gt;** | List of scopes to grant to the API key. Valid values are \&#39;read\&#39; and \&#39;write\&#39;. If \&#39;write\&#39; is included, \&#39;read\&#39; must also be included. Defaults to full access ([\&#39;read\&#39;, \&#39;write\&#39;]) if not provided. | [optional] [default to undefined]

## Example

```typescript
import { CreateApiKeyRequest } from 'kalshi-typescript';

const instance: CreateApiKeyRequest = {
    name,
    public_key,
    scopes,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
