# GenerateApiKeyResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_key_id** | **string** | Unique identifier for the newly generated API key | [default to undefined]
**key_type** | [**ApiKeyType**](ApiKeyType.md) |  | [optional] [default to undefined]
**private_key** | **string** | Private key in PEM format - PKCS#1 (&#x60;-----BEGIN RSA PRIVATE KEY-----&#x60;) for &#x60;rsa&#x60;, PKCS#8 (&#x60;-----BEGIN PRIVATE KEY-----&#x60;) for &#x60;ed25519&#x60;. This must be stored securely and cannot be retrieved again after this response | [default to undefined]
**warning** | **string** | Present only when the minted key is bound to an FCM subtrader that is missing a per-subtrader risk control - the initial-margin cap (margin lane) or the event-contract daily cap. The mint still succeeds; the warning names each missing control - an event-contract subtrader without a daily cap has its event-contract orders rejected until one is set, while a margin subtrader without an initial-margin cap is bounded only by firm-level risk limits. | [optional] [default to undefined]

## Example

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

const instance: GenerateApiKeyResponse = {
    api_key_id,
    key_type,
    private_key,
    warning,
};
```

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