# ApiKeyDTO


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accessPolicy** | [**ApiKeyAccessPolicyDTO**](ApiKeyAccessPolicyDTO.md) |  | [optional] [default to undefined]
**accountId** | **string** | You have to set it during resource creation, after that, it is only read-only | [optional] [default to undefined]
**alias** | **string** |  | [optional] [default to undefined]
**id** | **number** |  | [optional] [readonly] [default to undefined]
**key** | **string** |  | [optional] [readonly] [default to undefined]
**permissionType** | **string** | Permission type: READ_WRITE or READ_ONLY | [optional] [default to undefined]
**projectId** | **string** | You have to set it during resource creation, after that, it is only read-only | [optional] [default to undefined]

## Example

```typescript
import { ApiKeyDTO } from 'js-metacopier-api';

const instance: ApiKeyDTO = {
    accessPolicy,
    accountId,
    alias,
    id,
    key,
    permissionType,
    projectId,
};
```

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