<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKDatabase/Scope/shared",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKDatabaseScope@CKDatabaseScopeShared"
  },
  "title" : "CKDatabase.Scope.shared"
}
-->

# CKDatabase.Scope.shared

The shared database.

```
case shared
```

## Discussion

Records in a shared database:

- Are available to share participants based on the permissions of the enclosing [`CKShare`](/documentation/CloudKit/CKShare)
- Are not visible to the application developer via the Developer Portal.
- Are counted towards the originating owner’s iCloud account storage quota.

---

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)