<!--
{
  "availability" : [

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

# CKDBAsset

An object that represents an asset uploaded to CloudKit.

```
dictionary CKDBAsset {
	Int64? size;
	string? receipt;
	string? fileChecksum;
	string? wrappingKey;
	string? referenceChecksum;
	string? downloadUrl;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBAsset } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute string? downloadUrl;`](/documentation/CKToolJS/CKDBAsset/downloadUrl)

The URL for accessing the asset.

[`attribute string? fileChecksum;`](/documentation/CKToolJS/CKDBAsset/fileChecksum)

The signature of a file returned from the file upload step.

[`attribute string? receipt;`](/documentation/CKToolJS/CKDBAsset/receipt)

The receipt for uploading the asset.

[`attribute string? referenceChecksum;`](/documentation/CKToolJS/CKDBAsset/referenceChecksum)

The checksum of the wrapping key returned from the upload step.

[`attribute Int64? size;`](/documentation/CKToolJS/CKDBAsset/size)

The size of the asset in bytes.

[`attribute string? wrappingKey;`](/documentation/CKToolJS/CKDBAsset/wrappingKey)

The secret key used to encrypt the asset.

---

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)