<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/Security/CloudKitAPITokenAuth",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "instp/Security/CloudKitAPITokenAuth"
  },
  "title" : "CloudKitAPITokenAuth"
}
-->

# CloudKitAPITokenAuth

Your CloudKit API token.

```
attribute string? CloudKitAPITokenAuth;
```

## Discussion

If you are accessing CloudKit containers using an API token, you set this to the token value.

For more information on accessing CloudKit using an API token, see https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW1

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)