<!--
{
  "availability" : [

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

# Security

A dictionary of your authorization tokens.

```
dictionary Security {
	string? CloudKitAPITokenAuth;
	string? CloudKitWebAuthTokenAuth;
	string? ManagementTokenAuth;
	string? UserTokenAuth;
};
```

## Overview

A dictionary that contains your management token, user token, or CloudKit tokens.

You pass this dictionary when creating an instance of a promises API class as one of its property values.

## Topics

### Instance Properties

[`attribute string? CloudKitAPITokenAuth;`](/documentation/CKToolJS/Security/CloudKitAPITokenAuth)

Your CloudKit API token.

[`attribute string? CloudKitWebAuthTokenAuth;`](/documentation/CKToolJS/Security/CloudKitWebAuthTokenAuth)

Your CloudKit Web Authentication token.

[`attribute string? ManagementTokenAuth;`](/documentation/CKToolJS/Security/ManagementTokenAuth)

Your management token.

[`attribute string? UserTokenAuth;`](/documentation/CKToolJS/Security/UserTokenAuth)

Your user token.

---

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)