---
title: apiTokenAuth
framework: CloudKit JS
role: symbol
role_heading: Instance Property
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.containerconfig/apitokenauth
---

# apiTokenAuth

The API token and other authentication properties, described in the Discussion section. Either this key or the serverToServerKeyAuth key is required. If you include this key, don’t include the serverToServerKeyAuth key.

## Declaration

```data
attribute Object apiTokenAuth;
```
