A restricted key with its secrets, returned only when the key is created or rolled. Store them safely: they cannot be read again.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Unique identifier. | [optional] |
| created | OffsetDateTime | Creation date. | [optional] [readonly] |
| version | Integer | Row version, for optimistic concurrency. | [optional] [readonly] |
| description | String | Human-readable label. | [optional] |
| active | Boolean | Whether the key can authenticate. | [optional] |
| permissions | Permissions | [optional] | |
| companyIds | List<Integer> | Companies the key can access. Empty means all the companies of the account. | [optional] |
| corsOrigins | List<String> | Browser origins allowed to call the API with this key (CORS). | [optional] |
| previousKeyExpiresAt | OffsetDateTime | When the secrets replaced by the last roll stop working; null when there are none still valid. | [optional] |
| testKey | String | Sandbox secret. | [optional] |
| liveKey | String | Production secret. | [optional] |
- Serializable